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

Unified Diff: components/sync/device_info/device_info_sync_bridge.cc

Issue 2658743002: [Sync] Add ProfileSyncService::GetModelTypeStoreFactory. (Closed)
Patch Set: Fix iOS PSS factory. Created 3 years, 11 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
« no previous file with comments | « components/sync/device_info/device_info_sync_bridge.h ('k') | components/sync/model/model_type_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/device_info/device_info_sync_bridge.cc
diff --git a/components/sync/device_info/device_info_sync_bridge.cc b/components/sync/device_info/device_info_sync_bridge.cc
index 0ba09e3108ea426c8842b0d41b49a7295c94deb6..9490815f50b167c2cc0432a89128b1e03122e6a6 100644
--- a/components/sync/device_info/device_info_sync_bridge.cc
+++ b/components/sync/device_info/device_info_sync_bridge.cc
@@ -86,7 +86,7 @@ std::unique_ptr<DeviceInfoSpecifics> ModelToSpecifics(
DeviceInfoSyncBridge::DeviceInfoSyncBridge(
LocalDeviceInfoProvider* local_device_info_provider,
- const StoreFactoryFunction& callback,
+ const ModelTypeStoreFactory& store_factory,
const ChangeProcessorFactory& change_processor_factory)
: ModelTypeSyncBridge(change_processor_factory, DEVICE_INFO),
local_device_info_provider_(local_device_info_provider) {
@@ -102,7 +102,7 @@ DeviceInfoSyncBridge::DeviceInfoSyncBridge(
base::Unretained(this)));
}
- callback.Run(
+ store_factory.Run(
base::Bind(&DeviceInfoSyncBridge::OnStoreCreated, base::AsWeakPtr(this)));
}
« no previous file with comments | « components/sync/device_info/device_info_sync_bridge.h ('k') | components/sync/model/model_type_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698