| 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> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/process/process.h" | 11 #include "base/process/process.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "components/nacl/common/nacl_types.h" | 13 #include "components/nacl/common/nacl_types.h" |
| 14 #include "components/nacl/common/nacl_types_param_traits.h" | 14 #include "components/nacl/common/nacl_types_param_traits.h" |
| 15 #include "components/nacl/common/pnacl_types.h" | 15 #include "components/nacl/common/pnacl_types.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" |
| 20 #include "url/ipc/url_param_traits.h" | |
| 21 | 21 |
| 22 #define IPC_MESSAGE_START NaClHostMsgStart | 22 #define IPC_MESSAGE_START NaClHostMsgStart |
| 23 | 23 |
| 24 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClResourcePrefetchRequest) | 24 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClResourcePrefetchRequest) |
| 25 IPC_STRUCT_TRAITS_MEMBER(file_key) | 25 IPC_STRUCT_TRAITS_MEMBER(file_key) |
| 26 IPC_STRUCT_TRAITS_MEMBER(resource_url) | 26 IPC_STRUCT_TRAITS_MEMBER(resource_url) |
| 27 IPC_STRUCT_TRAITS_END() | 27 IPC_STRUCT_TRAITS_END() |
| 28 | 28 |
| 29 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams) | 29 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams) |
| 30 IPC_STRUCT_TRAITS_MEMBER(manifest_url) | 30 IPC_STRUCT_TRAITS_MEMBER(manifest_url) |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // processors are online. | 122 // processors are online. |
| 123 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, | 123 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, |
| 124 int /* Number of processors */) | 124 int /* Number of processors */) |
| 125 | 125 |
| 126 // A renderer sends this to the browser process to determine if the | 126 // A renderer sends this to the browser process to determine if the |
| 127 // NaCl application started from the given NMF URL will be debugged. | 127 // 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. | 128 // If not (filtered out by commandline flags), it sets should_debug to false. |
| 129 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, | 129 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, |
| 130 GURL /* alleged URL of NMF file */, | 130 GURL /* alleged URL of NMF file */, |
| 131 bool /* should debug */) | 131 bool /* should debug */) |
| OLD | NEW |