Index: components/sync_driver/data_type_controller.h |
diff --git a/components/sync_driver/data_type_controller.h b/components/sync_driver/data_type_controller.h |
index 258e9b77ae5dd38763b80847645f5443494610cd..ab6a517f39878b15bcd35db8e0c749f9453d06b0 100644 |
--- a/components/sync_driver/data_type_controller.h |
+++ b/components/sync_driver/data_type_controller.h |
@@ -19,6 +19,10 @@ |
#include "sync/internal_api/public/engine/model_safe_worker.h" |
#include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
+namespace base { |
+class SingleThreadTaskRunner; |
+} |
+ |
namespace syncer { |
class SyncError; |
struct UserShare; |
@@ -150,7 +154,7 @@ class DataTypeController |
friend class base::RefCountedDeleteOnMessageLoop<DataTypeController>; |
friend class base::DeleteHelper<DataTypeController>; |
- DataTypeController(scoped_refptr<base::MessageLoopProxy> ui_thread, |
+ DataTypeController(scoped_refptr<base::SingleThreadTaskRunner> ui_thread, |
const base::Closure& error_callback); |
// If the DTC is waiting for models to load, once the models are |