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

Unified Diff: components/sync_driver/non_ui_data_type_controller.h

Issue 1128523002: Usage of ThreadTaskRunner in lieu of in [chrome/browser/sync],[components/sync_driver] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Comments 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/non_ui_data_type_controller.h
diff --git a/components/sync_driver/non_ui_data_type_controller.h b/components/sync_driver/non_ui_data_type_controller.h
index 82f2eb1cb21570311299fbe0c4acb2ad79e0dbd2..2ea7dc8ec3f5bf606614be4a3f08193bff851280 100644
--- a/components/sync_driver/non_ui_data_type_controller.h
+++ b/components/sync_driver/non_ui_data_type_controller.h
@@ -25,7 +25,7 @@ class SyncApiComponentFactory;
class NonUIDataTypeController : public DataTypeController {
public:
NonUIDataTypeController(
- scoped_refptr<base::MessageLoopProxy> ui_thread,
+ scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
const base::Closure& error_callback,
SyncApiComponentFactory* sync_factory);
@@ -155,7 +155,7 @@ class NonUIDataTypeController : public DataTypeController {
// and released in StopLocalService().
base::WeakPtr<syncer::SyncableService> local_service_;
- scoped_refptr<base::MessageLoopProxy> ui_thread_;
+ scoped_refptr<base::SingleThreadTaskRunner> ui_thread_;
};
} // namespace sync_driver
« no previous file with comments | « components/sync_driver/fake_data_type_controller.cc ('k') | components/sync_driver/non_ui_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698