Index: components/nacl/common/nacl_messages.h |
diff --git a/components/nacl/common/nacl_messages.h b/components/nacl/common/nacl_messages.h |
index 261b87e8e7b1a5acfa43385a78efb991cc1dc460..5a9b572cf4ef5ab655918ca42a39d412a0d8b99b 100644 |
--- a/components/nacl/common/nacl_messages.h |
+++ b/components/nacl/common/nacl_messages.h |
@@ -10,9 +10,12 @@ |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_message_macros.h" |
#include "ipc/ipc_platform_file.h" |
+#include "native_client/src/trusted/service_runtime/nacl_error_code.h" |
#define IPC_MESSAGE_START NaClMsgStart |
+IPC_ENUM_TRAITS(NaClErrorCode) |
+ |
IPC_STRUCT_TRAITS_BEGIN(nacl::NaClStartParams) |
IPC_STRUCT_TRAITS_MEMBER(handles) |
IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket) |
@@ -93,3 +96,13 @@ IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken, |
// created successfully. |
IPC_MESSAGE_CONTROL1(NaClProcessHostMsg_PpapiChannelCreated, |
IPC::ChannelHandle /* channel_handle */) |
+ |
+// Created a channel between the renderer and the trusted plugin. |
+IPC_MESSAGE_CONTROL1(NaClProcessHostMsg_TrustedPluginChannelCreated, |
+ IPC::ChannelHandle /* channel_handle */) |
+ |
+IPC_SYNC_MESSAGE_CONTROL1_1(NaClProcessMsg_LoadModule, |
+ IPC::PlatformFileForTransit /* fd */, |
dmichael (off chromium)
2014/02/06 18:24:22
It would be good to have a name or comment explain
|
+ NaClErrorCode /* output_code */) |
+ |
+IPC_SYNC_MESSAGE_CONTROL0_0(NaClProcessMsg_StartModule) |