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

Unified Diff: components/sync_driver/device_info_data_type_controller.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/device_info_data_type_controller.cc
diff --git a/components/sync_driver/device_info_data_type_controller.cc b/components/sync_driver/device_info_data_type_controller.cc
index 78a21d4622237fbbee4f8b5f82568905aa636e82..d17e3ca2cad2008fb66869b0bcadf1429028c024 100644
--- a/components/sync_driver/device_info_data_type_controller.cc
+++ b/components/sync_driver/device_info_data_type_controller.cc
@@ -12,14 +12,13 @@ namespace sync_driver {
DeviceInfoDataTypeController::DeviceInfoDataTypeController(
const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
const base::Closure& error_callback,
- SyncApiComponentFactory* sync_factory,
+ SyncClient* sync_client,
LocalDeviceInfoProvider* local_device_info_provider)
: UIDataTypeController(ui_thread,
error_callback,
syncer::DEVICE_INFO,
- sync_factory),
- local_device_info_provider_(local_device_info_provider) {
-}
+ sync_client),
+ local_device_info_provider_(local_device_info_provider) {}
DeviceInfoDataTypeController::~DeviceInfoDataTypeController() {
}

Powered by Google App Engine
This is Rietveld 408576698