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

Unified Diff: sync/engine/model_changing_syncer_command.cc

Issue 14046031: Worker changes to prepare for lock-free shutdown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/model_changing_syncer_command.cc
diff --git a/sync/engine/model_changing_syncer_command.cc b/sync/engine/model_changing_syncer_command.cc
index c2c2750b1288eacd6319f0b9b38b1c04576e6086..d3fcdda0da77d9bd4ab1c91b95e0bb8458bc57a5 100644
--- a/sync/engine/model_changing_syncer_command.cc
+++ b/sync/engine/model_changing_syncer_command.cc
@@ -38,7 +38,7 @@ SyncerError ModelChangingSyncerCommand::ExecuteImpl(
// unretained.
base::Unretained(this));
- SyncerError this_worker_result = worker->DoWorkAndWaitUntilDone(c);
+ SyncerError this_worker_result = worker->HandleWork(c);
// TODO(rlarocque): Figure out a better way to deal with errors from
// multiple models at once. See also: crbug.com/109422.
if (this_worker_result != SYNCER_OK)

Powered by Google App Engine
This is Rietveld 408576698