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

Unified Diff: components/sync_driver/shared_change_processor.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/shared_change_processor.h
diff --git a/components/sync_driver/shared_change_processor.h b/components/sync_driver/shared_change_processor.h
index fee93fe9868e36bd1c0c5fccf0ba2bf09ee308bc..a03de61b7c2252edafb10e3ca720dbfc67b9dc9b 100644
--- a/components/sync_driver/shared_change_processor.h
+++ b/components/sync_driver/shared_change_processor.h
@@ -8,7 +8,7 @@
#include "base/location.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/single_thread_task_runner.h"
#include "base/synchronization/lock.h"
#include "components/sync_driver/data_type_error_handler.h"
#include "sync/api/sync_change_processor.h"
@@ -123,11 +123,11 @@ class SharedChangeProcessor
// The frontend / UI MessageLoop this object is constructed on. May also be
// destructed and/or disconnected on this loop, see ~SharedChangeProcessor.
- const scoped_refptr<const base::MessageLoopProxy> frontend_loop_;
+ const scoped_refptr<const base::SingleThreadTaskRunner> frontend_task_runner_;
// The loop that all methods except the constructor, destructor, and
// Disconnect() should be called on. Set in Connect().
- scoped_refptr<base::MessageLoopProxy> backend_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> backend_task_runner_;
// Used only on |backend_loop_|.
GenericChangeProcessor* generic_change_processor_;
« no previous file with comments | « components/sync_driver/proxy_data_type_controller.cc ('k') | components/sync_driver/shared_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698