Index: content/child/npapi/np_channel_base.h |
diff --git a/content/child/npapi/np_channel_base.h b/content/child/npapi/np_channel_base.h |
index d718936425fece594816ab5f54414afe710bb83f..3a8c9e36dac57b543e87fa302306ceef9f5edcd0 100644 |
--- a/content/child/npapi/np_channel_base.h |
+++ b/content/child/npapi/np_channel_base.h |
@@ -18,7 +18,7 @@ |
#include "ipc/ipc_sync_channel.h" |
namespace base { |
-class MessageLoopProxy; |
+class SingleThreadTaskRunner; |
} |
namespace content { |
@@ -100,9 +100,12 @@ class NPChannelBase : public IPC::Listener, |
// must still ref count the returned value. When there are no more routes |
// on the channel and its ref count is 0, the object deletes itself. |
static NPChannelBase* GetChannel( |
- const IPC::ChannelHandle& channel_handle, IPC::Channel::Mode mode, |
- ChannelFactory factory, base::MessageLoopProxy* ipc_message_loop, |
- bool create_pipe_now, base::WaitableEvent* shutdown_event); |
+ const IPC::ChannelHandle& channel_handle, |
+ IPC::Channel::Mode mode, |
+ ChannelFactory factory, |
+ base::SingleThreadTaskRunner* ipc_task_runner, |
+ bool create_pipe_now, |
+ base::WaitableEvent* shutdown_event); |
// Sends a message to all instances. |
static void Broadcast(IPC::Message* message); |
@@ -124,7 +127,7 @@ class NPChannelBase : public IPC::Listener, |
send_unblocking_only_during_unblock_dispatch_ = true; |
} |
- virtual bool Init(base::MessageLoopProxy* ipc_message_loop, |
+ virtual bool Init(base::SingleThreadTaskRunner* ipc_task_runner, |
bool create_pipe_now, |
base::WaitableEvent* shutdown_event); |