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

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

Issue 2458013002: [Sync] Rename ModelTypeService to ModelTypeSyncBridge. (Closed)
Patch Set: s/SetBridgeError/ErrorOnNextCall Created 4 years, 2 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/device_info/device_info_service.cc
diff --git a/components/sync/device_info/device_info_service.cc b/components/sync/device_info/device_info_service.cc
index 12403981068cf94ffc01537e1943ce26fa37a9f1..82172a4773d34cb4da2329837cb000c95389a0a3 100644
--- a/components/sync/device_info/device_info_service.cc
+++ b/components/sync/device_info/device_info_service.cc
@@ -38,7 +38,7 @@ DeviceInfoService::DeviceInfoService(
LocalDeviceInfoProvider* local_device_info_provider,
const StoreFactoryFunction& callback,
const ChangeProcessorFactory& change_processor_factory)
- : ModelTypeService(change_processor_factory, DEVICE_INFO),
+ : ModelTypeSyncBridge(change_processor_factory, DEVICE_INFO),
local_device_info_provider_(local_device_info_provider) {
DCHECK(local_device_info_provider);
@@ -187,7 +187,7 @@ void DeviceInfoService::DisableSync() {
// Allow deletion of metadata to happen before the deletion of data below. If
// we crash after removing metadata but not regular data, then merge can
// handle pairing everything back up.
- ModelTypeService::DisableSync();
+ ModelTypeSyncBridge::DisableSync();
// Remove all local data, if sync is being disabled, the user has expressed
// their desire to not have knowledge about other devices.
« no previous file with comments | « components/sync/device_info/device_info_service.h ('k') | components/sync/device_info/device_info_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698