diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-02 21:15:52 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-02 21:15:52 +0000 |
commit | b24323092173e732bb98c7aed0ab20d71e63893a (patch) | |
tree | 64c85d108bad185e793e3b8d26bcb3fd5ca68860 /ipc/ipc_sync_channel.h | |
parent | ddfc5b0a98c81247874ecdb01d438410801348bb (diff) | |
download | chromium_src-b24323092173e732bb98c7aed0ab20d71e63893a.zip chromium_src-b24323092173e732bb98c7aed0ab20d71e63893a.tar.gz chromium_src-b24323092173e732bb98c7aed0ab20d71e63893a.tar.bz2 |
Cleanup IPC::ChannelProxy to use SingleThreadTaskRunner
Also removed ClearIPCMessageLoop() as it is not needed anymore.
Review URL: https://chromiumcodereview.appspot.com/10694014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145192 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_sync_channel.h')
-rw-r--r-- | ipc/ipc_sync_channel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h index c6ebde1..dd610ee 100644 --- a/ipc/ipc_sync_channel.h +++ b/ipc/ipc_sync_channel.h @@ -71,7 +71,7 @@ class IPC_EXPORT SyncChannel : public ChannelProxy, SyncChannel(const IPC::ChannelHandle& channel_handle, Channel::Mode mode, Listener* listener, - base::MessageLoopProxy* ipc_message_loop, + base::SingleThreadTaskRunner* ipc_task_runner, bool create_pipe_now, base::WaitableEvent* shutdown_event); @@ -79,7 +79,7 @@ class IPC_EXPORT SyncChannel : public ChannelProxy, // initialize the channel. This two-step setup allows message filters to be // added before any messages are sent or received. SyncChannel(Listener* listener, - base::MessageLoopProxy* ipc_message_loop, + base::SingleThreadTaskRunner* ipc_task_runner, base::WaitableEvent* shutdown_event); virtual ~SyncChannel(); @@ -120,7 +120,7 @@ class IPC_EXPORT SyncChannel : public ChannelProxy, public base::WaitableEventWatcher::Delegate { public: SyncContext(Listener* listener, - base::MessageLoopProxy* ipc_thread, + base::SingleThreadTaskRunner* ipc_task_runner, base::WaitableEvent* shutdown_event); // Adds information about an outgoing sync message to the context so that |