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

Unified Diff: chrome/browser/sync/protocol/sync.proto

Issue 3387010: Refresh sync.proto. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fixed build_commit_command.cc Created 10 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/protocol/session_specifics.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/protocol/sync.proto
diff --git a/chrome/browser/sync/protocol/sync.proto b/chrome/browser/sync/protocol/sync.proto
index 515e08d9cd8a56d10a16e998ca4c0cb0dac5900a..3a9fd02ef3fdb31d12d4b0cabc78eed7708046de 100644
--- a/chrome/browser/sync/protocol/sync.proto
+++ b/chrome/browser/sync/protocol/sync.proto
@@ -232,6 +232,20 @@ message SyncEntity {
optional string client_defined_unique_tag = 23;
};
+// This message contains diagnostic information used to correlate
+// commit-related traffic with extensions-related mutations to the
+// data models in chromium. It plays no functional role in
+// processing this CommitMessage.
+message ChromiumExtensionsActivity {
+ // The human-readable ID identifying the extension responsible
+ // for the traffic reported in this ChromiumExtensionsActivity.
+ optional string extension_id = 1;
+
+ // How many times the extension successfully invoked a write
+ // operation through the bookmarks API since the last CommitMessage.
+ optional uint32 bookmark_writes_since_last_commit = 2;
+};
+
message CommitMessage {
repeated SyncEntity entries = 1;
@@ -239,20 +253,6 @@ message CommitMessage {
// returned as originator_cache_guid for any new items.
optional string cache_guid = 2;
- // This message contains diagnostic information used to correlate
- // commit-related traffic with extensions-related mutations to the
- // data models in chromium. It plays no functional role in
- // processing this CommitMessage.
- message ChromiumExtensionsActivity {
- // The human-readable ID identifying the extension responsible
- // for the traffic reported in this ChromiumExtensionsActivity.
- optional string extension_id = 1;
-
- // How many times the extension successfully invoked a write
- // operation through the bookmarks API since the last CommitMessage.
- optional uint32 bookmark_writes_since_last_commit = 2;
- }
-
repeated ChromiumExtensionsActivity extensions_activity = 3;
};
@@ -293,6 +293,11 @@ message GetUpdatesMessage {
// requested_types may contain multiple EntitySpecifics extensions -- in this
// event, the server will return items of all the indicated types.
optional EntitySpecifics requested_types = 4;
+
+ // Client-requested limit on the maximum number of updates to return at once.
+ // The server may opt to return fewer updates than this amount, but it should
+ // not return more.
+ optional int32 batch_size = 5;
};
message AuthenticateMessage {
« no previous file with comments | « chrome/browser/sync/protocol/session_specifics.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698