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

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

Issue 8313002: Revert 105667 - Send important client side event information to the server. We create a class cal... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Common sync protocol for encrypted data.
6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file.
9
10 syntax = "proto2";
11
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
14
15 package sync_pb;
16
17 // The additional info here is from SyncerStatus. They get sent when the event
18 // SYNC_CYCLE_COMPLETED is sent.
19 message SyncCycleCompletedEventInfo {
20 optional bool syncer_stuck = 1;
21 optional int32 num_blocking_conflicts = 2;
22 optional int32 num_non_blocking_conflicts = 3;
23 }
24
25 message DebugEventInfo {
26 // These events are sent by |SyncManager| class. Note: In the code they each
27 // of these events have some additional info but we are not sending them to
28 // server.
29 enum EventType {
30 AUTH_ERROR = 1; // Auth error. Note this gets generated even during
31 // successful auth with the error set to none.
32 UPDATED_TOKEN = 2; // Client received an updated token.
33 PASSPHRASE_REQUIRED = 3; // Cryptographer needs passphrase.
34 PASSPHRASE_ACCEPTED = 4; // Passphrase was accepted by cryptographer.
35 INITIALIZATION_COMPLETE = 5; // Sync Initialization is complete.
36
37 // |STOP_SYNCING_PERMANENTLY| event should never be seen by the server in
38 // the absence of bugs.
39 STOP_SYNCING_PERMANENTLY = 6; // Server sent stop syncing permanently.
40
41 ENCRYPTION_COMPLETE = 7; // Client has finished encrypting all data.
42 ACTIONABLE_ERROR = 8; // Client received an actionable error.
43 }
44 optional EventType type = 1;
45 optional SyncCycleCompletedEventInfo sync_cycle_completed_event_info = 2;
46 }
47
48 message DebugInfo {
49 repeated DebugEventInfo events = 1;
50
51 // Whether cryptographer is ready to encrypt and decrypt data.
52 optional bool cryptographer_ready = 2;
53
54 // Cryptographer has pending keys which indicates the correct passphrase
55 // has not been provided yet.
56 optional bool cryptographer_has_pending_keys = 3;
57
58 // Indicates client has dropped some events to save bandwidth.
59 optional bool events_dropped = 4;
60 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/internal_api/sync_manager.cc ('k') | chrome/browser/sync/protocol/sync.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698