OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 // conflicts. | 24 // conflicts. |
25 // | 25 // |
26 // These counters have been deprecated to avoid further confusion. The newer | 26 // These counters have been deprecated to avoid further confusion. The newer |
27 // counters provide more detail and are less buggy. | 27 // counters provide more detail and are less buggy. |
28 optional int32 num_blocking_conflicts = 2 [deprecated = true]; | 28 optional int32 num_blocking_conflicts = 2 [deprecated = true]; |
29 optional int32 num_non_blocking_conflicts = 3 [deprecated = true]; | 29 optional int32 num_non_blocking_conflicts = 3 [deprecated = true]; |
30 | 30 |
31 // These new conflict counters replace the ones above. | 31 // These new conflict counters replace the ones above. |
32 optional int32 num_encryption_conflicts = 4; | 32 optional int32 num_encryption_conflicts = 4; |
33 optional int32 num_hierarchy_conflicts = 5; | 33 optional int32 num_hierarchy_conflicts = 5; |
34 optional int32 num_simple_conflicts = 6; | 34 optional int32 num_simple_conflicts = 6; // No longer sent since M24. |
35 optional int32 num_server_conflicts = 7; | 35 optional int32 num_server_conflicts = 7; |
36 | 36 |
37 // Counts to track the effective usefulness of our GetUpdate requests. | 37 // Counts to track the effective usefulness of our GetUpdate requests. |
38 optional int32 num_updates_downloaded = 8; | 38 optional int32 num_updates_downloaded = 8; |
39 optional int32 num_reflected_updates_downloaded = 9; | 39 optional int32 num_reflected_updates_downloaded = 9; |
40 optional GetUpdatesCallerInfo caller_info = 10; | 40 optional GetUpdatesCallerInfo caller_info = 10; |
41 } | 41 } |
42 | 42 |
43 message DebugEventInfo { | 43 message DebugEventInfo { |
44 // These events are sent by |SyncManager| class. Note: In the code they each | 44 // These events are sent by |SyncManager| class. Note: In the code they each |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |