| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 IPC_STRUCT_TRAITS_MEMBER(crash_info_shmem_handle) | 42 IPC_STRUCT_TRAITS_MEMBER(crash_info_shmem_handle) |
| 43 IPC_STRUCT_TRAITS_END() | 43 IPC_STRUCT_TRAITS_END() |
| 44 | 44 |
| 45 IPC_STRUCT_TRAITS_BEGIN(nacl::PnaclCacheInfo) | 45 IPC_STRUCT_TRAITS_BEGIN(nacl::PnaclCacheInfo) |
| 46 IPC_STRUCT_TRAITS_MEMBER(pexe_url) | 46 IPC_STRUCT_TRAITS_MEMBER(pexe_url) |
| 47 IPC_STRUCT_TRAITS_MEMBER(abi_version) | 47 IPC_STRUCT_TRAITS_MEMBER(abi_version) |
| 48 IPC_STRUCT_TRAITS_MEMBER(opt_level) | 48 IPC_STRUCT_TRAITS_MEMBER(opt_level) |
| 49 IPC_STRUCT_TRAITS_MEMBER(last_modified) | 49 IPC_STRUCT_TRAITS_MEMBER(last_modified) |
| 50 IPC_STRUCT_TRAITS_MEMBER(etag) | 50 IPC_STRUCT_TRAITS_MEMBER(etag) |
| 51 IPC_STRUCT_TRAITS_MEMBER(has_no_store_header) | 51 IPC_STRUCT_TRAITS_MEMBER(has_no_store_header) |
| 52 IPC_STRUCT_TRAITS_MEMBER(use_subzero) |
| 52 IPC_STRUCT_TRAITS_MEMBER(sandbox_isa) | 53 IPC_STRUCT_TRAITS_MEMBER(sandbox_isa) |
| 53 IPC_STRUCT_TRAITS_MEMBER(extra_flags) | 54 IPC_STRUCT_TRAITS_MEMBER(extra_flags) |
| 54 IPC_STRUCT_TRAITS_END() | 55 IPC_STRUCT_TRAITS_END() |
| 55 | 56 |
| 56 // A renderer sends this to the browser process when it wants to start | 57 // A renderer sends this to the browser process when it wants to start |
| 57 // a new instance of the Native Client process. The browser will launch | 58 // a new instance of the Native Client process. The browser will launch |
| 58 // the process and return an IPC channel handle. This handle will only | 59 // the process and return an IPC channel handle. This handle will only |
| 59 // be valid if the NaCl IPC proxy is enabled. | 60 // be valid if the NaCl IPC proxy is enabled. |
| 60 IPC_SYNC_MESSAGE_CONTROL1_2(NaClHostMsg_LaunchNaCl, | 61 IPC_SYNC_MESSAGE_CONTROL1_2(NaClHostMsg_LaunchNaCl, |
| 61 nacl::NaClLaunchParams /* launch_params */, | 62 nacl::NaClLaunchParams /* launch_params */, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 // processors are online. | 117 // processors are online. |
| 117 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, | 118 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, |
| 118 int /* Number of processors */) | 119 int /* Number of processors */) |
| 119 | 120 |
| 120 // A renderer sends this to the browser process to determine if the | 121 // A renderer sends this to the browser process to determine if the |
| 121 // NaCl application started from the given NMF URL will be debugged. | 122 // NaCl application started from the given NMF URL will be debugged. |
| 122 // If not (filtered out by commandline flags), it sets should_debug to false. | 123 // If not (filtered out by commandline flags), it sets should_debug to false. |
| 123 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, | 124 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, |
| 124 GURL /* alleged URL of NMF file */, | 125 GURL /* alleged URL of NMF file */, |
| 125 bool /* should debug */) | 126 bool /* should debug */) |
| OLD | NEW |