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, 7 insertions, 0 deletions
diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h
index dfcffea..7b4af2a 100644
--- a/chrome/common/plugin_messages_internal.h
+++ b/chrome/common/plugin_messages_internal.h
@@ -56,6 +56,12 @@ IPC_BEGIN_MESSAGES(PluginProcessHost, 4)
IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_PluginMessage,
std::vector<uint8> /* opaque data */)
+ // Allows a chrome plugin loaded in a plugin process to send arbitrary
+ // data to an instance of the same plugin loaded in the browser process.
+ IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_PluginSyncMessage,
+ std::vector<uint8> /* opaque data */,
+ std::vector<uint8> /* opaque data response */)
+
// Retrieve the given type of info that is associated with the given
// CPBrowsingContext. Returns the result in a string.
IPC_SYNC_MESSAGE_CONTROL0_1(PluginProcessHostMsg_GetPluginDataDir,
@@ -238,6 +244,7 @@ IPC_BEGIN_MESSAGES(PluginHost, 6)
IPC_SYNC_MESSAGE_ROUTED0_1(PluginHostMsg_GetCPBrowsingContext,
uint32 /* context */)
+
IPC_END_MESSAGES(PluginHost)
//-----------------------------------------------------------------------------