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

Unified Diff: components/sync_driver/device_info_data_type_controller.h

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.h
diff --git a/components/sync_driver/device_info_data_type_controller.h b/components/sync_driver/device_info_data_type_controller.h
index d20d0374929f2cf507c0c664eb3c671baf3a831b..7d1cab497a2157c1bba77f606966983b27584392 100644
--- a/components/sync_driver/device_info_data_type_controller.h
+++ b/components/sync_driver/device_info_data_type_controller.h
@@ -6,6 +6,7 @@
#define COMPONENTS_SYNC_DRIVER_DEVICE_INFO_DATA_TYPE_CONTROLLER_H_
#include "base/memory/scoped_ptr.h"
+#include "base/single_thread_task_runner.h"
#include "components/sync_driver/local_device_info_provider.h"
#include "components/sync_driver/ui_data_type_controller.h"
@@ -15,7 +16,7 @@ namespace sync_driver {
class DeviceInfoDataTypeController : public UIDataTypeController {
public:
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);
« no previous file with comments | « components/suggestions/suggestions_service_unittest.cc ('k') | components/sync_driver/device_info_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698