From 92bf906d13ba00204d3f2fc338340ccc670ed545 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Mon, 2 May 2011 18:00:49 +0000 Subject: Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. This allows us to remove usage of the IOThread object, and generally makes IPC::ChannelProxy more robust for future uses. Review URL: http://codereview.chromium.org/6901146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83741 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/proxy_channel.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ppapi/proxy/proxy_channel.h') diff --git a/ppapi/proxy/proxy_channel.h b/ppapi/proxy/proxy_channel.h index 8df6893..3dbb977 100644 --- a/ppapi/proxy/proxy_channel.h +++ b/ppapi/proxy/proxy_channel.h @@ -11,9 +11,8 @@ #include "ipc/ipc_platform_file.h" #include "ipc/ipc_sync_channel.h" -class MessageLoop; - namespace base { +class MessageLoopProxy; class WaitableEvent; } @@ -34,7 +33,7 @@ class ProxyChannel : public IPC::Channel::Listener, class Delegate { public: // Returns the dedicated message loop for processing IPC requests. - virtual MessageLoop* GetIPCMessageLoop() = 0; + virtual base::MessageLoopProxy* GetIPCMessageLoop() = 0; // Returns the event object that becomes signalled when the main thread's // message loop exits. -- cgit v1.1