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

Unified Diff: sync/engine/commit.cc

Issue 19982002: sync: Remove SyncSourceInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 5 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
Index: sync/engine/commit.cc
diff --git a/sync/engine/commit.cc b/sync/engine/commit.cc
index 5081ab3cb2baee44b909e848b822e0629c47aac3..f478644874b96c2c557cc823ef153dd7aeee337c 100644
--- a/sync/engine/commit.cc
+++ b/sync/engine/commit.cc
@@ -102,6 +102,7 @@ SyncerError BuildAndPostCommitsImpl(ModelTypeSet requested_types,
Syncer* syncer,
sessions::SyncSession* session,
sessions::OrderedCommitSet* commit_set) {
+ ModelTypeSet commit_request_types;
while (!syncer->ExitRequested()) {
sync_pb::ClientToServerMessage commit_message;
ExtensionsActivityMonitor::Records extensions_activity_buffer;
@@ -114,6 +115,10 @@ SyncerError BuildAndPostCommitsImpl(ModelTypeSet requested_types,
break;
}
+ commit_request_types.PutAll(commit_set->Types());
+ session->mutable_status_controller()->set_commit_request_types(
+ commit_request_types);
+
sync_pb::ClientToServerResponse commit_response;
DVLOG(1) << "Sending commit message.";

Powered by Google App Engine
This is Rietveld 408576698