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

Unified Diff: sync/tools/sync_client.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, 7 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 | « sync/test/engine/fake_model_worker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/tools/sync_client.cc
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc
index 7623db1e87e93599a0007fca11dd341ce551e81a..9d3c51d1c4cb859b633cfb12a79bdcdaf576a9d7 100644
--- a/sync/tools/sync_client.cc
+++ b/sync/tools/sync_client.cc
@@ -293,7 +293,7 @@ int SyncClientMain(int argc, char* argv[]) {
routing_info[it.Get()] = GROUP_PASSIVE;
}
scoped_refptr<PassiveModelWorker> passive_model_safe_worker =
- new PassiveModelWorker(&sync_loop);
+ new PassiveModelWorker(&sync_loop, NULL);
std::vector<ModelSafeWorker*> workers;
workers.push_back(passive_model_safe_worker.get());
« no previous file with comments | « sync/test/engine/fake_model_worker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698