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.h" | 10 #include "base/process.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "chrome/common/common_param_traits.h" | 12 #include "chrome/common/common_param_traits.h" |
13 #include "chrome/common/nacl_types.h" | 13 #include "components/nacl/common/nacl_types.h" |
14 #include "content/public/common/common_param_traits.h" | 14 #include "content/public/common/common_param_traits.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "ipc/ipc_channel_handle.h" | 16 #include "ipc/ipc_channel_handle.h" |
17 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
18 #include "ipc/ipc_platform_file.h" | 18 #include "ipc/ipc_platform_file.h" |
19 | 19 |
20 #define IPC_MESSAGE_START NaClHostMsgStart | 20 #define IPC_MESSAGE_START NaClHostMsgStart |
21 | 21 |
22 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams) | 22 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams) |
23 IPC_STRUCT_TRAITS_MEMBER(manifest_url) | 23 IPC_STRUCT_TRAITS_MEMBER(manifest_url) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 int /* Error ID */) | 56 int /* Error ID */) |
57 | 57 |
58 // A renderer sends this to the browser process when it wants to | 58 // A renderer sends this to the browser process when it wants to |
59 // open a NaCl executable file from an installed application directory. | 59 // open a NaCl executable file from an installed application directory. |
60 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, | 60 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, |
61 int /* render_view_id */, | 61 int /* render_view_id */, |
62 GURL /* URL of NaCl executable file */, | 62 GURL /* URL of NaCl executable file */, |
63 IPC::PlatformFileForTransit /* output file */, | 63 IPC::PlatformFileForTransit /* output file */, |
64 uint64 /* file_token_lo */, | 64 uint64 /* file_token_lo */, |
65 uint64 /* file_token_hi */) | 65 uint64 /* file_token_hi */) |
OLD | NEW |