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

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

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 4 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
« no previous file with comments | « components/sync/engine_impl/update_handler.h ('k') | components/sync/sessions/DEPS » ('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 // Sync protocol for debug info clients can send to the sync server. 5 // Sync protocol for debug info clients can send to the sync server.
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 optional int32 num_encryption_conflicts = 4; 51 optional int32 num_encryption_conflicts = 4;
52 optional int32 num_hierarchy_conflicts = 5; 52 optional int32 num_hierarchy_conflicts = 5;
53 optional int32 num_simple_conflicts = 6; // No longer sent since M24. 53 optional int32 num_simple_conflicts = 6; // No longer sent since M24.
54 optional int32 num_server_conflicts = 7; 54 optional int32 num_server_conflicts = 7;
55 55
56 // Counts to track the effective usefulness of our GetUpdate requests. 56 // Counts to track the effective usefulness of our GetUpdate requests.
57 optional int32 num_updates_downloaded = 8; 57 optional int32 num_updates_downloaded = 8;
58 optional int32 num_reflected_updates_downloaded = 9; 58 optional int32 num_reflected_updates_downloaded = 9;
59 optional GetUpdatesCallerInfo caller_info = 10; 59 optional GetUpdatesCallerInfo caller_info = 10;
60 60
61 // A list of all the sources that were merged into this session. 61 // A list of all the sources that were merged into this cycle.
62 // 62 //
63 // Some scenarios, notably mode switches and canary jobs, can spuriously add 63 // Some scenarios, notably mode switches and canary jobs, can spuriously add
64 // back-to-back duplicate sources to this list. 64 // back-to-back duplicate sources to this list.
65 repeated SourceInfo source_info = 11; 65 repeated SourceInfo source_info = 11;
66 } 66 }
67 67
68 // Datatype specifics statistics gathered at association time. 68 // Datatype specifics statistics gathered at association time.
69 message DatatypeAssociationStats { 69 message DatatypeAssociationStats {
70 // The datatype that was associated. 70 // The datatype that was associated.
71 optional int32 data_type_id = 1; 71 optional int32 data_type_id = 1;
72 72
73 // The state of the world before association. 73 // The state of the world before association.
74 optional int32 num_local_items_before_association = 2; 74 optional int32 num_local_items_before_association = 2;
75 optional int32 num_sync_items_before_association = 3; 75 optional int32 num_sync_items_before_association = 3;
76 76
77 // The state of the world after association. 77 // The state of the world after association.
78 optional int32 num_local_items_after_association = 4; 78 optional int32 num_local_items_after_association = 4;
79 optional int32 num_sync_items_after_association = 5; 79 optional int32 num_sync_items_after_association = 5;
80 80
81 // The changes that got us from before to after. In a correctly working 81 // The changes that got us from before to after. In a correctly working
82 // system these should be the deltas between before and after. 82 // system these should be the deltas between before and after.
83 optional int32 num_local_items_added = 6; 83 optional int32 num_local_items_added = 6;
84 optional int32 num_local_items_deleted = 7; 84 optional int32 num_local_items_deleted = 7;
85 optional int32 num_local_items_modified = 8; 85 optional int32 num_local_items_modified = 8;
86 optional int32 num_sync_items_added = 9; 86 optional int32 num_sync_items_added = 9;
87 optional int32 num_sync_items_deleted = 10; 87 optional int32 num_sync_items_deleted = 10;
88 optional int32 num_sync_items_modified = 11; 88 optional int32 num_sync_items_modified = 11;
89 89
90 // Model versions before association. Ideally local and sync model should 90 // Model versions before association. Ideally local and sync model should
91 // have same version if models were persisted properly in last session. 91 // have same version if models were persisted properly in last cycle.
92 // Note: currently version is only set on bookmark model. 92 // Note: currently version is only set on bookmark model.
93 optional int64 local_version_pre_association = 20; 93 optional int64 local_version_pre_association = 20;
94 optional int64 sync_version_pre_association = 21; 94 optional int64 sync_version_pre_association = 21;
95 95
96 // The data type ran into an error during model association. 96 // The data type ran into an error during model association.
97 optional bool had_error = 12; 97 optional bool had_error = 12;
98 98
99 // Waiting time before downloading starts. This measures the time between 99 // Waiting time before downloading starts. This measures the time between
100 // receiving configuration request for a set of data types to starting 100 // receiving configuration request for a set of data types to starting
101 // downloading data of this type. 101 // downloading data of this type.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // Whether cryptographer is ready to encrypt and decrypt data. 157 // Whether cryptographer is ready to encrypt and decrypt data.
158 optional bool cryptographer_ready = 2; 158 optional bool cryptographer_ready = 2;
159 159
160 // Cryptographer has pending keys which indicates the correct passphrase 160 // Cryptographer has pending keys which indicates the correct passphrase
161 // has not been provided yet. 161 // has not been provided yet.
162 optional bool cryptographer_has_pending_keys = 3; 162 optional bool cryptographer_has_pending_keys = 3;
163 163
164 // Indicates client has dropped some events to save bandwidth. 164 // Indicates client has dropped some events to save bandwidth.
165 optional bool events_dropped = 4; 165 optional bool events_dropped = 4;
166 } 166 }
OLDNEW
« no previous file with comments | « components/sync/engine_impl/update_handler.h ('k') | components/sync/sessions/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698