summaryrefslogtreecommitdiffstats
path: root/chrome/common/plugin_messages_internal.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 05:35:07 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 05:35:07 +0000
commitfa6caa4ffb83896cb42198f35ca7837ae3b7c83c (patch)
tree7f42b778a87a10b5db39bbe26f3d380dda05f8eb /chrome/common/plugin_messages_internal.h
parenta57ea3fc6c3cfe3b44dcd0771d0d56c76bd238df (diff)
downloadchromium_src-fa6caa4ffb83896cb42198f35ca7837ae3b7c83c.zip
chromium_src-fa6caa4ffb83896cb42198f35ca7837ae3b7c83c.tar.gz
chromium_src-fa6caa4ffb83896cb42198f35ca7837ae3b7c83c.tar.bz2
Fix regression from r11509 which caused each plugin instance to have its own IPC channel (doh!).
BUG=119052 TEST=covered by ui test that Amit added Review URL: http://codereview.chromium.org/119158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/plugin_messages_internal.h')
-rw-r--r--chrome/common/plugin_messages_internal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h
index da8cd13d..b2805fc 100644
--- a/chrome/common/plugin_messages_internal.h
+++ b/chrome/common/plugin_messages_internal.h
@@ -12,8 +12,11 @@
IPC_BEGIN_MESSAGES(PluginProcess)
// Tells the plugin process to create a new channel for communication with a
// renderer. The channel name is returned in a
- // PluginProcessHostMsg_ChannelCreated message.
- IPC_MESSAGE_CONTROL1(PluginProcessMsg_CreateChannel,
+ // PluginProcessHostMsg_ChannelCreated message. The renderer's process_id is
+ // passed so that the plugin process reuses an existing channel to that
+ // process if it exists.
+ IPC_MESSAGE_CONTROL2(PluginProcessMsg_CreateChannel,
+ int /* process_id */,
bool /* off_the_record */)
// Allows a chrome plugin loaded in the browser process to send arbitrary