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 <stdint.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/basictypes.h" | |
10 #include "base/process/process.h" | 11 #include "base/process/process.h" |
11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
12 #include "components/nacl/common/nacl_types.h" | 13 #include "components/nacl/common/nacl_types.h" |
13 #include "components/nacl/common/nacl_types_param_traits.h" | 14 #include "components/nacl/common/nacl_types_param_traits.h" |
14 #include "components/nacl/common/pnacl_types.h" | 15 #include "components/nacl/common/pnacl_types.h" |
15 #include "content/public/common/common_param_traits.h" | 16 #include "content/public/common/common_param_traits.h" |
16 #include "ipc/ipc_channel_handle.h" | 17 #include "ipc/ipc_channel_handle.h" |
17 #include "ipc/ipc_message_macros.h" | 18 #include "ipc/ipc_message_macros.h" |
18 #include "ipc/ipc_platform_file.h" | 19 #include "ipc/ipc_platform_file.h" |
19 #include "url/gurl.h" | 20 #include "url/gurl.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 IPC_MESSAGE_CONTROL1(NaClHostMsg_MissingArchError, | 109 IPC_MESSAGE_CONTROL1(NaClHostMsg_MissingArchError, |
109 int /* render_view_id */) | 110 int /* render_view_id */) |
110 | 111 |
111 // A renderer sends this to the browser process when it wants to | 112 // A renderer sends this to the browser process when it wants to |
112 // open a NaCl executable file from an installed application directory. | 113 // open a NaCl executable file from an installed application directory. |
113 IPC_SYNC_MESSAGE_CONTROL3_3(NaClHostMsg_OpenNaClExecutable, | 114 IPC_SYNC_MESSAGE_CONTROL3_3(NaClHostMsg_OpenNaClExecutable, |
114 int /* render_view_id */, | 115 int /* render_view_id */, |
115 GURL /* URL of NaCl executable file */, | 116 GURL /* URL of NaCl executable file */, |
116 bool /* enable_validation_caching */, | 117 bool /* enable_validation_caching */, |
117 IPC::PlatformFileForTransit /* output file */, | 118 IPC::PlatformFileForTransit /* output file */, |
118 uint64 /* file_token_lo */, | 119 uint64_t /* file_token_lo */, |
119 uint64 /* file_token_hi */) | 120 uint64_t /* file_token_hi */) |
120 | 121 |
121 // A renderer sends this to the browser process to determine how many | 122 // A renderer sends this to the browser process to determine how many |
122 // processors are online. | 123 // processors are online. |
123 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, | 124 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, |
124 int /* Number of processors */) | 125 int /* Number of processors */) |
125 | 126 |
126 // A renderer sends this to the browser process to determine if the | 127 // A renderer sends this to the browser process to determine if the |
127 // NaCl application started from the given NMF URL will be debugged. | 128 // NaCl application started from the given NMF URL will be debugged. |
128 // If not (filtered out by commandline flags), it sets should_debug to false. | 129 // If not (filtered out by commandline flags), it sets should_debug to false. |
129 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, | 130 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, |
130 GURL /* alleged URL of NMF file */, | 131 GURL /* alleged URL of NMF file */, |
131 bool /* should debug */) | 132 bool /* should debug */) |
OLD | NEW |