OLD | NEW |
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 int /* instance */, | 96 int /* instance */, |
97 bool /* success */) | 97 bool /* success */) |
98 | 98 |
99 // A renderer sends this to the browser process to report when the client | 99 // A renderer sends this to the browser process to report when the client |
100 // architecture is not listed in the manifest. | 100 // architecture is not listed in the manifest. |
101 IPC_MESSAGE_CONTROL1(NaClHostMsg_MissingArchError, | 101 IPC_MESSAGE_CONTROL1(NaClHostMsg_MissingArchError, |
102 int /* render_view_id */) | 102 int /* render_view_id */) |
103 | 103 |
104 // A renderer sends this to the browser process when it wants to | 104 // A renderer sends this to the browser process when it wants to |
105 // open a NaCl executable file from an installed application directory. | 105 // open a NaCl executable file from an installed application directory. |
106 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, | 106 IPC_SYNC_MESSAGE_CONTROL3_3(NaClHostMsg_OpenNaClExecutable, |
107 int /* render_view_id */, | 107 int /* render_view_id */, |
108 GURL /* URL of NaCl executable file */, | 108 GURL /* URL of NaCl executable file */, |
| 109 bool /* enable_validation_caching */, |
109 IPC::PlatformFileForTransit /* output file */, | 110 IPC::PlatformFileForTransit /* output file */, |
110 uint64 /* file_token_lo */, | 111 uint64 /* file_token_lo */, |
111 uint64 /* file_token_hi */) | 112 uint64 /* file_token_hi */) |
112 | 113 |
113 // A renderer sends this to the browser process to determine how many | 114 // A renderer sends this to the browser process to determine how many |
114 // processors are online. | 115 // processors are online. |
115 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, | 116 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, |
116 int /* Number of processors */) | 117 int /* Number of processors */) |
117 | 118 |
118 // A renderer sends this to the browser process to determine if the | 119 // A renderer sends this to the browser process to determine if the |
119 // NaCl application started from the given NMF URL will be debugged. | 120 // NaCl application started from the given NMF URL will be debugged. |
120 // If not (filtered out by commandline flags), it sets should_debug to false. | 121 // If not (filtered out by commandline flags), it sets should_debug to false. |
121 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, | 122 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, |
122 GURL /* alleged URL of NMF file */, | 123 GURL /* alleged URL of NMF file */, |
123 bool /* should debug */) | 124 bool /* should debug */) |
OLD | NEW |