From 12262cfcdbfd13d853dc358ca600bfc499e31ad5 Mon Sep 17 00:00:00 2001 From: skyostil Date: Thu, 21 May 2015 07:49:31 -0700 Subject: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs This patch was mostly autogenerated with https://codereview.chromium.org/1010073002/. BUG=465354 TBR=jochen@chromium.org,raymes@chromium.org Review URL: https://codereview.chromium.org/1142063003 Cr-Commit-Position: refs/heads/master@{#330939} --- content/child/thread_safe_sender.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'content/child/thread_safe_sender.h') diff --git a/content/child/thread_safe_sender.h b/content/child/thread_safe_sender.h index a6605aa..0d35f26 100644 --- a/content/child/thread_safe_sender.h +++ b/content/child/thread_safe_sender.h @@ -11,7 +11,7 @@ #include "ipc/ipc_sender.h" namespace base { -class MessageLoopProxy; +class SingleThreadTaskRunner; } namespace IPC { @@ -29,8 +29,9 @@ class CONTENT_EXPORT ThreadSafeSender bool Send(IPC::Message* msg) override; protected: - ThreadSafeSender(const scoped_refptr& main_loop, - const scoped_refptr& sync_filter); + ThreadSafeSender( + const scoped_refptr& main_task_runner, + const scoped_refptr& sync_filter); ~ThreadSafeSender() override; private: @@ -39,7 +40,7 @@ class CONTENT_EXPORT ThreadSafeSender friend class WebIDBCursorImplTest; friend class base::RefCountedThreadSafe; - scoped_refptr main_loop_; + scoped_refptr main_task_runner_; scoped_refptr sync_filter_; DISALLOW_COPY_AND_ASSIGN(ThreadSafeSender); -- cgit v1.1