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

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

Issue 8189003: Send important client side event information to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review 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 message SyncCycleCompletedEventInfo {
18 optional bool syncer_stuck = 1;
19 optional int32 num_blocking_conflicts = 2;
20 optional int32 num_non_blocking_conflicts = 3;
21 }
22
23 message DebugEventInfo {
24 // these events dont have any extra info associated with them.
tim (not reviewing) 2011/10/13 16:04:14 Comments should start with a capital.
lipalani1 2011/10/13 21:39:18 Done.
25 enum EventType {
26 AUTH_ERROR = 1; // Auth error
27 UPDATED_TOKEN = 2; // Client received an updated token.
28 PASSPHRASE_REQUIRED = 3; // Cryptographer needs passphrase.
29 PASSPHRASE_ACCEPTED = 4; // Passphrase was accepted by cryptographer.
30 INITIALIZATION_COMPLETE = 5; // Sync Initialization is complete.
31 // This event should never be seen by the server in the absence of bugs.
32 STOP_SYNCING_PERMANENTLY = 6; // Server sent stop syncing permanently.
33 ENCRYPTION_COMPLETE = 7; // Client has finished encrypting all data.
34 ACTIONABLE_ERROR = 8; // Client received an actionable error.
35 }
36 optional EventType type = 1;
37 optional SyncCycleCompletedEventInfo sync_cycle_completed_event_info = 2;
38 }
39
40 message DebugInfo {
tim (not reviewing) 2011/10/13 16:04:14 We had discussed time deltas for events. I still
lipalani1 2011/10/13 21:39:18 TimeDeltas need some thinking through to send in a
41 repeated DebugEventInfo events = 1;
42 optional bool cryptographer_ready = 2;
43 optional bool cryptographer_has_pending_keys = 3;
44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698