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

Unified Diff: sync/engine/commit.cc

Issue 10909160: sync: Process client commands on commit response (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor formatting improvement 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/sessions/sync_session.cc » ('J')
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 731643a3b4d66a7363618c319341fcd73c1f1af3..4be90cf027013cad925981a5c267277eb9c03956 100644
--- a/sync/engine/commit.cc
+++ b/sync/engine/commit.cc
@@ -123,6 +123,10 @@ SyncerError BuildAndPostCommitsImpl(Syncer* syncer,
return SERVER_RESPONSE_VALIDATION_FAILED;
}
+ if (commit_response.has_client_command()) {
+ session->ProcessClientCommand(commit_response.client_command());
+ }
+
TRACE_EVENT_BEGIN0("sync", "ProcessCommitResponse");
ProcessCommitResponseCommand process_response_command(
*commit_set, commit_message, commit_response);
« no previous file with comments | « no previous file | sync/engine/download_updates_command.cc » ('j') | sync/sessions/sync_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698