Index: ppapi/proxy/ppapi_messages.h |
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
index 6ae94abb112a46c7f2e181e7ccdce0f0389370fc..fe4b7c0850fad45f27c02b8ff1bece8ae20ee9c9 100644 |
--- a/ppapi/proxy/ppapi_messages.h |
+++ b/ppapi/proxy/ppapi_messages.h |
@@ -12,6 +12,7 @@ |
#include "base/shared_memory.h" |
#include "base/string16.h" |
#include "base/sync_socket.h" |
+#include "base/values.h" |
#include "gpu/command_buffer/common/command_buffer.h" |
#include "gpu/ipc/gpu_command_buffer_traits.h" |
#include "ipc/ipc_channel_handle.h" |
@@ -1333,6 +1334,25 @@ IPC_MESSAGE_CONTROL2(PpapiPluginMsg_DirectoryReader_GetEntriesReply, |
std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */, |
std::vector<PP_FileType> /* file_types */) |
+// Extensions common ----------------------------------------------------------- |
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_ExtensionsCommon_Create) |
+ |
+// Starts an extension API request which doesn't expect a response. |
+// |request_name| is an API function name. |args| is a list of input arguments. |
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_ExtensionsCommon_Post, |
+ std::string /* request_name */, |
+ base::ListValue /* args */) |
+ |
+// Starts an extension API request which expects a response sent back using a |
+// PpapiPluginMsg_ExtensionsCommon_CallReply message. |
+// |request_name| is an API function name. |args| is a list of input arguments. |
+// |output| is a list of output results. |
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_ExtensionsCommon_Call, |
+ std::string /* request_name */, |
+ base::ListValue /* args */) |
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_ExtensionsCommon_CallReply, |
+ base::ListValue /* output */) |
+ |
// File chooser. |
IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) |
IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, |