Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: sync/protocol/client_debug_info.proto

Issue 10916036: [Sync] Implement keystore migration support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Common sync protocol for encrypted data. 5 // Common sync protocol for encrypted data.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 option retain_unknown_fields = true; 10 option retain_unknown_fields = true;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 // |STOP_SYNCING_PERMANENTLY| event should never be seen by the server in 56 // |STOP_SYNCING_PERMANENTLY| event should never be seen by the server in
57 // the absence of bugs. 57 // the absence of bugs.
58 STOP_SYNCING_PERMANENTLY = 6; // Server sent stop syncing permanently. 58 STOP_SYNCING_PERMANENTLY = 6; // Server sent stop syncing permanently.
59 59
60 ENCRYPTED_TYPES_CHANGED = 9; // Set of encrypted types has changed. 60 ENCRYPTED_TYPES_CHANGED = 9; // Set of encrypted types has changed.
61 ENCRYPTION_COMPLETE = 7; // Client has finished encrypting all data. 61 ENCRYPTION_COMPLETE = 7; // Client has finished encrypting all data.
62 ACTIONABLE_ERROR = 8; // Client received an actionable error. 62 ACTIONABLE_ERROR = 8; // Client received an actionable error.
63 BOOTSTRAP_TOKEN_UPDATED = 9; // A new cryptographer bootstrap token was 63 BOOTSTRAP_TOKEN_UPDATED = 9; // A new cryptographer bootstrap token was
64 // generated. 64 // generated.
65 PASSPHRASE_STATE_CHANGED = 10; // The encryption passphrase state changed. 65 PASSPHRASE_TYPE_CHANGED = 10; // The encryption passphrase state changed.
66 KEYSTORE_TOKEN_UPDATED = 11; // A new keystore encryption token was 66 KEYSTORE_TOKEN_UPDATED = 11; // A new keystore encryption token was
67 // persisted. 67 // persisted.
68 } 68 }
69 // In a given |DebugEventInfo| only one of the following would be set. 69 // In a given |DebugEventInfo| only one of the following would be set.
70 optional EventType type = 1; 70 optional EventType type = 1;
71 71
72 optional SyncCycleCompletedEventInfo sync_cycle_completed_event_info = 2; 72 optional SyncCycleCompletedEventInfo sync_cycle_completed_event_info = 2;
73 73
74 // Datatype that caused the nudge. 74 // Datatype that caused the nudge.
75 optional int32 nudging_datatype = 3; 75 optional int32 nudging_datatype = 3;
76 76
77 // Datatypes that were notified from server. 77 // Datatypes that were notified from server.
78 repeated int32 datatypes_notified_from_server = 4; 78 repeated int32 datatypes_notified_from_server = 4;
79 } 79 }
80 80
81 message DebugInfo { 81 message DebugInfo {
82 repeated DebugEventInfo events = 1; 82 repeated DebugEventInfo events = 1;
83 83
84 // Whether cryptographer is ready to encrypt and decrypt data. 84 // Whether cryptographer is ready to encrypt and decrypt data.
85 optional bool cryptographer_ready = 2; 85 optional bool cryptographer_ready = 2;
86 86
87 // Cryptographer has pending keys which indicates the correct passphrase 87 // Cryptographer has pending keys which indicates the correct passphrase
88 // has not been provided yet. 88 // has not been provided yet.
89 optional bool cryptographer_has_pending_keys = 3; 89 optional bool cryptographer_has_pending_keys = 3;
90 90
91 // Indicates client has dropped some events to save bandwidth. 91 // Indicates client has dropped some events to save bandwidth.
92 optional bool events_dropped = 4; 92 optional bool events_dropped = 4;
93 } 93 }
OLDNEW
« no previous file with comments | « sync/internal_api/sync_manager_impl_unittest.cc ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698