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

Unified Diff: sync/protocol/client_debug_info.proto

Issue 11416126: Track merged nudge sources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update name and stop sending full notification hints Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc ('k') | sync/sessions/sync_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/client_debug_info.proto
diff --git a/sync/protocol/client_debug_info.proto b/sync/protocol/client_debug_info.proto
index 7e4e1a5f961f1d57b5808f35cecdd2af02f0da6b..61ef9b220b4ecd2f2f93c849030ee50458a01bb2 100644
--- a/sync/protocol/client_debug_info.proto
+++ b/sync/protocol/client_debug_info.proto
@@ -13,6 +13,18 @@ package sync_pb;
import "get_updates_caller_info.proto";
+// Information about hints sent with nudges.
+message TypeHint {
+ optional int32 data_type_id = 1;
+ optional bool has_valid_hint = 2;
+}
+
+// Information about the source that triggered a sync.
+message SourceInfo {
+ optional GetUpdatesCallerInfo.GetUpdatesSource source = 1;
+ repeated TypeHint type_hint = 2;
+}
+
// The additional info here is from the StatusController. They get sent when
// the event SYNC_CYCLE_COMPLETED is sent.
message SyncCycleCompletedEventInfo {
@@ -38,6 +50,8 @@ message SyncCycleCompletedEventInfo {
optional int32 num_updates_downloaded = 8;
optional int32 num_reflected_updates_downloaded = 9;
optional GetUpdatesCallerInfo caller_info = 10;
+
+ repeated SourceInfo source_info = 11;
tim (not reviewing) 2012/11/29 19:28:05 sources_list may be a better name (to match debug_
rlarocque 2012/11/29 23:42:12 I thought of that, but then there's the problem th
}
// Datatype specifics statistics gathered at association time.
« no previous file with comments | « sync/internal_api/public/sessions/sync_session_snapshot_unittest.cc ('k') | sync/sessions/sync_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698