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

Unified Diff: sync/engine/build_commit_command.cc

Issue 10916174: Implement a bag of chips for sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving persistence Created 8 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 | « no previous file | sync/engine/download_updates_command.cc » ('j') | sync/protocol/sync.proto » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/build_commit_command.cc
diff --git a/sync/engine/build_commit_command.cc b/sync/engine/build_commit_command.cc
index 534e196ba5c391b09c9918e7d998310e72644054..ade6acbee4f8791f06d07e0f2bd8f0c2acac4d1f 100644
--- a/sync/engine/build_commit_command.cc
+++ b/sync/engine/build_commit_command.cc
@@ -114,6 +114,8 @@ SyncerError BuildCommitCommand::ExecuteImpl(SyncSession* session) {
SyncerProtoUtil::SetProtocolVersion(commit_message_);
SyncerProtoUtil::AddRequestBirthday(
session->write_transaction()->directory(), commit_message_);
+ SyncerProtoUtil::AddBagOfChips(
+ session->write_transaction()->directory(), commit_message_);
// Cache previously computed position values. Because |commit_ids|
// is already in sibling order, we should always hit this map after
« no previous file with comments | « no previous file | sync/engine/download_updates_command.cc » ('j') | sync/protocol/sync.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698