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

Side by Side Diff: components/nacl/common/nacl_host_messages.h

Issue 224803002: Enable mmap and identity-based validation caching on pnacl-{llc,ld}.nexe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix token handover for main nexe Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process/process.h" 10 #include "base/process/process.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // a new instance of the Native Client process. The browser will launch 54 // a new instance of the Native Client process. The browser will launch
55 // the process and return an IPC channel handle. This handle will only 55 // the process and return an IPC channel handle. This handle will only
56 // be valid if the NaCl IPC proxy is enabled. 56 // be valid if the NaCl IPC proxy is enabled.
57 IPC_SYNC_MESSAGE_CONTROL1_2(NaClHostMsg_LaunchNaCl, 57 IPC_SYNC_MESSAGE_CONTROL1_2(NaClHostMsg_LaunchNaCl,
58 nacl::NaClLaunchParams /* launch_params */, 58 nacl::NaClLaunchParams /* launch_params */,
59 nacl::NaClLaunchResult /* launch_result */, 59 nacl::NaClLaunchResult /* launch_result */,
60 std::string /* error_message */) 60 std::string /* error_message */)
61 61
62 // A renderer sends this to the browser process when it wants to 62 // A renderer sends this to the browser process when it wants to
63 // open a file for from the Pnacl component directory. 63 // open a file for from the Pnacl component directory.
64 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_GetReadonlyPnaclFD, 64 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_GetReadonlyPnaclFD,
65 std::string /* name of requested PNaCl file */, 65 std::string /* name of requested PNaCl file */,
66 IPC::PlatformFileForTransit /* output file */) 66 bool /* is_executable */,
67 IPC::PlatformFileForTransit /* output file */,
68 uint64 /* file_token_lo */,
69 uint64 /* file_token_hi */)
67 70
68 // A renderer sends this to the browser process when it wants to 71 // A renderer sends this to the browser process when it wants to
69 // create a temporary file. 72 // create a temporary file.
70 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClCreateTemporaryFile, 73 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClCreateTemporaryFile,
71 IPC::PlatformFileForTransit /* out file */) 74 IPC::PlatformFileForTransit /* out file */)
72 75
73 // A renderer sends this to the browser to request a file descriptor for 76 // A renderer sends this to the browser to request a file descriptor for
74 // a translated nexe. 77 // a translated nexe.
75 IPC_MESSAGE_CONTROL3(NaClHostMsg_NexeTempFileRequest, 78 IPC_MESSAGE_CONTROL3(NaClHostMsg_NexeTempFileRequest,
76 int /* render_view_id */, 79 int /* render_view_id */,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // processors are online. 112 // processors are online.
110 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, 113 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors,
111 int /* Number of processors */) 114 int /* Number of processors */)
112 115
113 // A renderer sends this to the browser process to determine if the 116 // A renderer sends this to the browser process to determine if the
114 // NaCl application started from the given NMF URL will be debugged. 117 // NaCl application started from the given NMF URL will be debugged.
115 // If not (filtered out by commandline flags), it sets should_debug to false. 118 // If not (filtered out by commandline flags), it sets should_debug to false.
116 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, 119 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL,
117 GURL /* alleged URL of NMF file */, 120 GURL /* alleged URL of NMF file */,
118 bool /* should debug */) 121 bool /* should debug */)
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/renderer/ppb_nacl_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698