Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: components/nacl/common/nacl_messages.h

Issue 418423002: Pepper: Stop using SRPC for irt_open_resource(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/loader/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/loader/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698