diff options
author | maxbogue <maxbogue@chromium.org> | 2015-10-22 10:34:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-22 17:34:50 +0000 |
commit | 26624b136dbd72c7c1f2db0d34463cc6ea87f985 (patch) | |
tree | 7a18ce92e73f57950d17e247e89a37617845832c /sync/tools | |
parent | 1f3ecb2eb8806026b81d6c5605aba11ea1d1859d (diff) | |
download | chromium_src-26624b136dbd72c7c1f2db0d34463cc6ea87f985.zip chromium_src-26624b136dbd72c7c1f2db0d34463cc6ea87f985.tar.gz chromium_src-26624b136dbd72c7c1f2db0d34463cc6ea87f985.tar.bz2 |
[Sync] Componentize SyncBackendRegistrar.
Adds SyncClient::CreateModelWorkerForGroup() for dependency
injection of the ModelSafeWorkers.
BUG=512066
Review URL: https://codereview.chromium.org/1394153004
Cr-Commit-Position: refs/heads/master@{#355567}
Diffstat (limited to 'sync/tools')
-rw-r--r-- | sync/tools/sync_client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc index d8653ec..dbb1421 100644 --- a/sync/tools/sync_client.cc +++ b/sync/tools/sync_client.cc @@ -387,7 +387,7 @@ int SyncClientMain(int argc, char* argv[]) { routing_info[it.Get()] = GROUP_PASSIVE; } scoped_refptr<PassiveModelWorker> passive_model_safe_worker = - new PassiveModelWorker(&sync_loop, NULL); + new PassiveModelWorker(nullptr); std::vector<scoped_refptr<ModelSafeWorker> > workers; workers.push_back(passive_model_safe_worker); |