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

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

Issue 9305001: sync: Remove the remaining conflict sets code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More renames, refactors and fixes Created 8 years, 10 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
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;
11 11
12 package sync_pb; 12 package sync_pb;
13 13
14 // The additional info here is from SyncerStatus. They get sent when the event 14 // The additional info here is from SyncerStatus. They get sent when the event
15 // SYNC_CYCLE_COMPLETED is sent. 15 // SYNC_CYCLE_COMPLETED is sent.
16 message SyncCycleCompletedEventInfo { 16 message SyncCycleCompletedEventInfo {
17 // optional bool syncer_stuck = 1; // Was always false, now obsolete. 17 // optional bool syncer_stuck = 1; // Was always false, now obsolete.
18
19 // TODO(rlarocque): rename these counters.
18 optional int32 num_blocking_conflicts = 2; 20 optional int32 num_blocking_conflicts = 2;
19 optional int32 num_non_blocking_conflicts = 3; 21 optional int32 num_non_blocking_conflicts = 3;
20 } 22 }
21 23
22 message DebugEventInfo { 24 message DebugEventInfo {
23 // These events are sent by |SyncManager| class. Note: In the code they each 25 // These events are sent by |SyncManager| class. Note: In the code they each
24 // of these events have some additional info but we are not sending them to 26 // of these events have some additional info but we are not sending them to
25 // server. 27 // server.
26 enum EventType { 28 enum EventType {
27 AUTH_ERROR = 1; // Auth error. Note this gets generated even during 29 AUTH_ERROR = 1; // Auth error. Note this gets generated even during
(...skipping 23 matching lines...) Expand all
51 // Whether cryptographer is ready to encrypt and decrypt data. 53 // Whether cryptographer is ready to encrypt and decrypt data.
52 optional bool cryptographer_ready = 2; 54 optional bool cryptographer_ready = 2;
53 55
54 // Cryptographer has pending keys which indicates the correct passphrase 56 // Cryptographer has pending keys which indicates the correct passphrase
55 // has not been provided yet. 57 // has not been provided yet.
56 optional bool cryptographer_has_pending_keys = 3; 58 optional bool cryptographer_has_pending_keys = 3;
57 59
58 // Indicates client has dropped some events to save bandwidth. 60 // Indicates client has dropped some events to save bandwidth.
59 optional bool events_dropped = 4; 61 optional bool events_dropped = 4;
60 } 62 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698