Chromium Code Reviews
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. #
Messages
Total messages: 16 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||