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

Issue 2501743005: [Sync] Remove SyncClient dep from SyncBackendRegistrar. (Closed)

Created:
4 years, 1 month ago by maxbogue
Modified:
4 years, 1 month ago
Reviewers:
pavely
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Remove SyncClient dep from SyncBackendRegistrar. Instead, just pass in a factory function to create ModelSafeWorkers. This change also includes various cleanups of the test file: - No more need for FakeSyncClient. - Don't take SBR as a param to functions that don't need it. - Actually have a private section so it's clear what the tests use. - Move a couple functions to better places. BUG=663125 Committed: https://crrev.com/e238f9653ed383542f2121f38428928c6c619e38 Cr-Commit-Position: refs/heads/master@{#432399}

Patch Set 1 #

Patch Set 2 : Self-review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -153 lines) Patch
M components/sync/driver/glue/sync_backend_host_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/sync/driver/glue/sync_backend_registrar.h View 1 5 chunks +10 lines, -7 lines 0 comments Download
M components/sync/driver/glue/sync_backend_registrar.cc View 1 2 chunks +14 lines, -15 lines 0 comments Download
M components/sync/driver/glue/sync_backend_registrar_unittest.cc View 1 8 chunks +98 lines, -130 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
maxbogue
Pavel, PTAL!
4 years, 1 month ago (2016-11-15 22:24:16 UTC) #8
pavely
lgtm
4 years, 1 month ago (2016-11-16 02:04:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2501743005/20001
4 years, 1 month ago (2016-11-16 02:15:10 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-16 06:36:52 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 06:39:37 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e238f9653ed383542f2121f38428928c6c619e38
Cr-Commit-Position: refs/heads/master@{#432399}

Powered by Google App Engine
This is Rietveld 408576698