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

Unified Diff: components/sync_driver/sync_api_component_factory_mock.h

Issue 1421003007: [Sync] Componentize ProfileSyncComponentsFactoryImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix sessions api test Created 5 years, 1 month 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 | « components/sync_driver/sync_api_component_factory.h ('k') | components/sync_driver/sync_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/sync_api_component_factory_mock.h
diff --git a/components/sync_driver/sync_api_component_factory_mock.h b/components/sync_driver/sync_api_component_factory_mock.h
index 70899c5112508aeb8d521d8b891ec4c9a9809750..f89e5025b6fc3009b190563344e4c420c477489f 100644
--- a/components/sync_driver/sync_api_component_factory_mock.h
+++ b/components/sync_driver/sync_api_component_factory_mock.h
@@ -29,7 +29,7 @@ class SyncApiComponentFactoryMock
sync_driver::ChangeProcessor* change_processor);
~SyncApiComponentFactoryMock() override;
- MOCK_METHOD1(RegisterDataTypes, void(sync_driver::SyncClient*));
+ MOCK_METHOD1(RegisterDataTypes, void(const RegisterDataTypesMethod&));
MOCK_METHOD5(CreateDataTypeManager,
sync_driver::DataTypeManager*(
const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&,
@@ -37,10 +37,9 @@ class SyncApiComponentFactoryMock
const sync_driver::DataTypeEncryptionHandler*,
browser_sync::SyncBackendHost*,
sync_driver::DataTypeManagerObserver* observer));
- MOCK_METHOD5(CreateSyncBackendHost,
+ MOCK_METHOD4(CreateSyncBackendHost,
browser_sync::SyncBackendHost*(
const std::string& name,
- sync_driver::SyncClient* sync_client,
invalidation::InvalidationService* invalidator,
const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
const base::FilePath& sync_folder));
« no previous file with comments | « components/sync_driver/sync_api_component_factory.h ('k') | components/sync_driver/sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698