Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Unified Diff: content/plugin/plugin_channel.cc

Issue 6901146: Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. This allows us to remov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/plugin/plugin_channel.h ('k') | content/plugin/plugin_channel_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_channel.cc
===================================================================
--- content/plugin/plugin_channel.cc (revision 83679)
+++ content/plugin/plugin_channel.cc (working copy)
@@ -136,8 +136,8 @@
IPC::Channel* channel_;
};
-PluginChannel* PluginChannel::GetPluginChannel(int renderer_id,
- MessageLoop* ipc_message_loop) {
+PluginChannel* PluginChannel::GetPluginChannel(
+ int renderer_id, base::MessageLoopProxy* ipc_message_loop) {
// Map renderer ID to a (single) channel to that process.
std::string channel_key = StringPrintf(
"%d.r%d", base::GetCurrentProcId(), renderer_id);
@@ -323,7 +323,8 @@
plugin_stubs_.clear();
}
-bool PluginChannel::Init(MessageLoop* ipc_message_loop, bool create_pipe_now) {
+bool PluginChannel::Init(base::MessageLoopProxy* ipc_message_loop,
+ bool create_pipe_now) {
if (!PluginChannelBase::Init(ipc_message_loop, create_pipe_now))
return false;
« no previous file with comments | « content/plugin/plugin_channel.h ('k') | content/plugin/plugin_channel_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698