Index: chrome/common/nacl_messages.h |
diff --git a/chrome/common/nacl_messages.h b/chrome/common/nacl_messages.h |
index acafe7ecccd89d9b950a2bceb95b1ba98b2e7160..0500f628c1b594bc774ea7fd546457071d0a3911 100644 |
--- a/chrome/common/nacl_messages.h |
+++ b/chrome/common/nacl_messages.h |
@@ -9,6 +9,7 @@ |
#include "chrome/common/nacl_types.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_message_macros.h" |
+#include "ipc/ipc_platform_file.h" |
#define IPC_MESSAGE_START NaClMsgStart |
@@ -78,6 +79,12 @@ IPC_SYNC_MESSAGE_CONTROL1_1(NaClProcessMsg_QueryKnownToValidate, |
IPC_MESSAGE_CONTROL1(NaClProcessMsg_SetKnownToValidate, |
std::string /* A validation signature */) |
+// Used by the NaCl process to aquire trusted information about a file. |
+IPC_SYNC_MESSAGE_CONTROL1_2(NaClProcessMsg_ResolveFileNonce, |
+ uint64, /* nonce */ |
+ IPC::PlatformFileForTransit, /* fd */ |
+ base::FilePath /* Path opened to get fd */) |
+ |
// Notify the browser process that the server side of the PPAPI channel was |
// created successfully. |
IPC_MESSAGE_CONTROL1(NaClProcessHostMsg_PpapiChannelCreated, |