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 25 matching lines...) Expand all Loading... | |
36 IPC_STRUCT_TRAITS_MEMBER(plugin_child_id) | 36 IPC_STRUCT_TRAITS_MEMBER(plugin_child_id) |
37 IPC_STRUCT_TRAITS_END() | 37 IPC_STRUCT_TRAITS_END() |
38 | 38 |
39 IPC_STRUCT_TRAITS_BEGIN(nacl::PnaclCacheInfo) | 39 IPC_STRUCT_TRAITS_BEGIN(nacl::PnaclCacheInfo) |
40 IPC_STRUCT_TRAITS_MEMBER(pexe_url) | 40 IPC_STRUCT_TRAITS_MEMBER(pexe_url) |
41 IPC_STRUCT_TRAITS_MEMBER(abi_version) | 41 IPC_STRUCT_TRAITS_MEMBER(abi_version) |
42 IPC_STRUCT_TRAITS_MEMBER(opt_level) | 42 IPC_STRUCT_TRAITS_MEMBER(opt_level) |
43 IPC_STRUCT_TRAITS_MEMBER(last_modified) | 43 IPC_STRUCT_TRAITS_MEMBER(last_modified) |
44 IPC_STRUCT_TRAITS_MEMBER(etag) | 44 IPC_STRUCT_TRAITS_MEMBER(etag) |
45 IPC_STRUCT_TRAITS_MEMBER(has_no_store_header) | 45 IPC_STRUCT_TRAITS_MEMBER(has_no_store_header) |
46 IPC_STRUCT_TRAITS_MEMBER(sandbox_isa) | |
jvoung (off chromium)
2014/02/15 02:07:27
You could also get the nacl arch from "OmahaQueryP
Derek Schuff
2014/02/15 05:59:18
Given that the rest of the cache information is co
| |
47 IPC_STRUCT_TRAITS_MEMBER(extra_flags) | |
46 IPC_STRUCT_TRAITS_END() | 48 IPC_STRUCT_TRAITS_END() |
47 | 49 |
48 // A renderer sends this to the browser process when it wants to start | 50 // A renderer sends this to the browser process when it wants to start |
49 // a new instance of the Native Client process. The browser will launch | 51 // a new instance of the Native Client process. The browser will launch |
50 // the process and return an IPC channel handle. This handle will only | 52 // the process and return an IPC channel handle. This handle will only |
51 // be valid if the NaCl IPC proxy is enabled. | 53 // be valid if the NaCl IPC proxy is enabled. |
52 IPC_SYNC_MESSAGE_CONTROL1_2(NaClHostMsg_LaunchNaCl, | 54 IPC_SYNC_MESSAGE_CONTROL1_2(NaClHostMsg_LaunchNaCl, |
53 nacl::NaClLaunchParams /* launch_params */, | 55 nacl::NaClLaunchParams /* launch_params */, |
54 nacl::NaClLaunchResult /* launch_result */, | 56 nacl::NaClLaunchResult /* launch_result */, |
55 std::string /* error_message */) | 57 std::string /* error_message */) |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
92 int /* Error ID */) | 94 int /* Error ID */) |
93 | 95 |
94 // A renderer sends this to the browser process when it wants to | 96 // A renderer sends this to the browser process when it wants to |
95 // open a NaCl executable file from an installed application directory. | 97 // open a NaCl executable file from an installed application directory. |
96 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, | 98 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, |
97 int /* render_view_id */, | 99 int /* render_view_id */, |
98 GURL /* URL of NaCl executable file */, | 100 GURL /* URL of NaCl executable file */, |
99 IPC::PlatformFileForTransit /* output file */, | 101 IPC::PlatformFileForTransit /* output file */, |
100 uint64 /* file_token_lo */, | 102 uint64 /* file_token_lo */, |
101 uint64 /* file_token_hi */) | 103 uint64 /* file_token_hi */) |
OLD | NEW |