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

Unified Diff: components/sync_driver/device_info_data_type_controller.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 7 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 f1e7499b318dfa9f4dd23906474c3f7e94ddcff7..78a21d4622237fbbee4f8b5f82568905aa636e82 100644
--- a/components/sync_driver/device_info_data_type_controller.cc
+++ b/components/sync_driver/device_info_data_type_controller.cc
@@ -10,15 +10,14 @@
namespace sync_driver {
DeviceInfoDataTypeController::DeviceInfoDataTypeController(
- const scoped_refptr<base::MessageLoopProxy>& ui_thread,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
const base::Closure& error_callback,
SyncApiComponentFactory* sync_factory,
LocalDeviceInfoProvider* local_device_info_provider)
- : UIDataTypeController(
- ui_thread,
- error_callback,
- syncer::DEVICE_INFO,
- sync_factory),
+ : UIDataTypeController(ui_thread,
+ error_callback,
+ syncer::DEVICE_INFO,
+ sync_factory),
local_device_info_provider_(local_device_info_provider) {
}

Powered by Google App Engine
This is Rietveld 408576698