diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-02 18:00:49 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-02 18:00:49 +0000 |
commit | 92bf906d13ba00204d3f2fc338340ccc670ed545 (patch) | |
tree | 28a8803d9a9a0810d2f9d93576d20d1cdf4d63b6 /content/plugin/plugin_channel.h | |
parent | 68a008e82da08b0bf7d421049f0a292b99b88048 (diff) | |
download | chromium_src-92bf906d13ba00204d3f2fc338340ccc670ed545.zip chromium_src-92bf906d13ba00204d3f2fc338340ccc670ed545.tar.gz chromium_src-92bf906d13ba00204d3f2fc338340ccc670ed545.tar.bz2 |
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
Diffstat (limited to 'content/plugin/plugin_channel.h')
-rw-r--r-- | content/plugin/plugin_channel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/plugin/plugin_channel.h b/content/plugin/plugin_channel.h index 50b2054..b0edd9d 100644 --- a/content/plugin/plugin_channel.h +++ b/content/plugin/plugin_channel.h @@ -25,8 +25,8 @@ class PluginChannel : public PluginChannelBase { // Get a new PluginChannel object for the current process to talk to the // given renderer process. The renderer ID is an opaque unique ID generated // by the browser. - static PluginChannel* GetPluginChannel(int renderer_id, - MessageLoop* ipc_message_loop); + static PluginChannel* GetPluginChannel( + int renderer_id, base::MessageLoopProxy* ipc_message_loop); // Send a message to all renderers that the process is going to shutdown. static void NotifyRenderersOfPendingShutdown(); @@ -62,7 +62,8 @@ class PluginChannel : public PluginChannelBase { virtual void CleanUp(); // Overrides PluginChannelBase::Init. - virtual bool Init(MessageLoop* ipc_message_loop, bool create_pipe_now); + virtual bool Init(base::MessageLoopProxy* ipc_message_loop, + bool create_pipe_now); private: class MessageFilter; |