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

Unified Diff: components/sync/driver/sync_api_component_factory_mock.h

Issue 2555433003: [Sync] Plumb initial type set from engine to DTM. (Closed)
Patch Set: Rebase. Created 4 years 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/engine/fake_sync_engine.cc » ('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 586543f3a7c7e84d3727c748010269e92b8cfa07..65643da17c71a9df6ba6515a32da7fbf47672da0 100644
--- a/components/sync/driver/sync_api_component_factory_mock.h
+++ b/components/sync/driver/sync_api_component_factory_mock.h
@@ -29,11 +29,12 @@ class SyncApiComponentFactoryMock : public SyncApiComponentFactory {
MOCK_METHOD2(RegisterDataTypes,
void(SyncService* sync_service, const RegisterDataTypesMethod&));
- MOCK_METHOD5(CreateDataTypeManager,
- DataTypeManager*(const WeakHandle<DataTypeDebugInfoListener>&,
+ MOCK_METHOD6(CreateDataTypeManager,
+ DataTypeManager*(ModelTypeSet initial_types,
+ const WeakHandle<DataTypeDebugInfoListener>&,
const DataTypeController::TypeMap*,
const DataTypeEncryptionHandler*,
- SyncEngine*,
+ ModelTypeConfigurer*,
DataTypeManagerObserver* observer));
MOCK_METHOD4(CreateSyncEngine,
SyncEngine*(const std::string& name,
« no previous file with comments | « components/sync/driver/sync_api_component_factory.h ('k') | components/sync/engine/fake_sync_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698