Index: components/nacl/common/nacl_messages.h |
diff --git a/components/nacl/common/nacl_messages.h b/components/nacl/common/nacl_messages.h |
index eeaedf9396648667643e5c302d052634a6136e5c..4a94ad99c54dfb5672d4f618f9855b407f4faa7f 100644 |
--- a/components/nacl/common/nacl_messages.h |
+++ b/components/nacl/common/nacl_messages.h |
@@ -91,12 +91,23 @@ IPC_MESSAGE_CONTROL1(NaClProcessMsg_SetKnownToValidate, |
// Used by the NaCl process to acquire trusted information about a file directly |
// from the browser, including the file's path as well as a fresh version of the |
// file handle. |
+// TODO(teravest): Remove the synchronous version of this message once initial |
+// nexe validation caching stops using this. |
IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken, |
uint64, /* file_token_lo */ |
uint64, /* file_token_hi */ |
IPC::PlatformFileForTransit, /* fd */ |
base::FilePath /* Path opened to get fd */) |
+IPC_MESSAGE_CONTROL2(NaClProcessMsg_ResolveFileTokenAsync, |
+ uint64, /* file_token_lo */ |
+ uint64 /* file_token_hi */) |
+IPC_MESSAGE_CONTROL4(NaClProcessMsg_ResolveFileTokenAsyncReply, |
+ uint64, /* file_token_lo */ |
+ uint64, /* file_token_hi */ |
+ 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_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated, |