summaryrefslogtreecommitdiffstats
path: root/chrome/common/plugin_messages_internal.h
diff options
context:
space:
mode:
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