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

Unified Diff: sync/engine/commit.cc

Issue 19982002: sync: Remove SyncSourceInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Convert SyncShareRecords to typedef 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
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/download.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.";
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/download.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698