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

Unified Diff: components/sync_driver/non_ui_data_type_controller_unittest.cc

Issue 1310553005: [Sync] Replace ProfileSyncComponentsFactory with SyncClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix GN Created 5 years, 4 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: components/sync_driver/non_ui_data_type_controller_unittest.cc
diff --git a/components/sync_driver/non_ui_data_type_controller_unittest.cc b/components/sync_driver/non_ui_data_type_controller_unittest.cc
index 8a3b8efc60b3919aa54c5d50eec57d35b5919344..6c86ae5671da7f8bc1abb6766f427bf359a5accb 100644
--- a/components/sync_driver/non_ui_data_type_controller_unittest.cc
+++ b/components/sync_driver/non_ui_data_type_controller_unittest.cc
@@ -27,6 +27,8 @@
namespace sync_driver {
+class SyncClient;
+
namespace {
using base::WaitableEvent;
@@ -63,7 +65,7 @@ class SharedChangeProcessorMock : public SharedChangeProcessor {
SharedChangeProcessorMock() {}
MOCK_METHOD6(Connect, base::WeakPtr<syncer::SyncableService>(
- SyncApiComponentFactory*,
+ SyncClient*,
GenericChangeProcessorFactory*,
syncer::UserShare*,
DataTypeErrorHandler*,
@@ -95,13 +97,13 @@ class NonUIDataTypeControllerFake
: public NonUIDataTypeController {
public:
NonUIDataTypeControllerFake(
- SyncApiComponentFactory* sync_factory,
+ SyncClient* sync_client,
NonUIDataTypeControllerMock* mock,
SharedChangeProcessor* change_processor,
scoped_refptr<base::SingleThreadTaskRunner> backend_task_runner)
: NonUIDataTypeController(base::ThreadTaskRunnerHandle::Get(),
base::Closure(),
- sync_factory),
+ sync_client),
blocked_(false),
mock_(mock),
change_processor_(change_processor),
« no previous file with comments | « components/sync_driver/non_ui_data_type_controller.cc ('k') | components/sync_driver/profile_sync_components_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698