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 #include "components/nacl/common/nacl_types.h" | 5 #include "components/nacl/common/nacl_types.h" |
6 #include "ipc/ipc_platform_file.h" | 6 #include "ipc/ipc_platform_file.h" |
7 | 7 |
8 namespace nacl { | 8 namespace nacl { |
9 | 9 |
10 NaClStartParams::NaClStartParams() | 10 NaClStartParams::NaClStartParams() |
(...skipping 29 matching lines...) Expand all Loading... |
40 render_view_id(0), | 40 render_view_id(0), |
41 permission_bits(0), | 41 permission_bits(0), |
42 process_type(kUnknownNaClProcessType) { | 42 process_type(kUnknownNaClProcessType) { |
43 } | 43 } |
44 | 44 |
45 NaClLaunchParams::NaClLaunchParams( | 45 NaClLaunchParams::NaClLaunchParams( |
46 const std::string& manifest_url, | 46 const std::string& manifest_url, |
47 const IPC::PlatformFileForTransit& nexe_file, | 47 const IPC::PlatformFileForTransit& nexe_file, |
48 uint64_t nexe_token_lo, | 48 uint64_t nexe_token_lo, |
49 uint64_t nexe_token_hi, | 49 uint64_t nexe_token_hi, |
50 const std::vector< | 50 const base::StringPairs& resource_files_to_prefetch, |
51 std::pair<std::string, std::string> >& resource_files_to_prefetch, | |
52 int render_view_id, | 51 int render_view_id, |
53 uint32 permission_bits, | 52 uint32 permission_bits, |
54 bool uses_nonsfi_mode, | 53 bool uses_nonsfi_mode, |
55 NaClAppProcessType process_type) | 54 NaClAppProcessType process_type) |
56 : manifest_url(manifest_url), | 55 : manifest_url(manifest_url), |
57 nexe_file(nexe_file), | 56 nexe_file(nexe_file), |
58 nexe_token_lo(nexe_token_lo), | 57 nexe_token_lo(nexe_token_lo), |
59 nexe_token_hi(nexe_token_hi), | 58 nexe_token_hi(nexe_token_hi), |
60 resource_files_to_prefetch(resource_files_to_prefetch), | 59 resource_files_to_prefetch(resource_files_to_prefetch), |
61 render_view_id(render_view_id), | 60 render_view_id(render_view_id), |
(...skipping 28 matching lines...) Expand all Loading... |
90 manifest_service_ipc_channel_handle(manifest_service_ipc_channel_handle), | 89 manifest_service_ipc_channel_handle(manifest_service_ipc_channel_handle), |
91 plugin_pid(plugin_pid), | 90 plugin_pid(plugin_pid), |
92 plugin_child_id(plugin_child_id), | 91 plugin_child_id(plugin_child_id), |
93 crash_info_shmem_handle(crash_info_shmem_handle) { | 92 crash_info_shmem_handle(crash_info_shmem_handle) { |
94 } | 93 } |
95 | 94 |
96 NaClLaunchResult::~NaClLaunchResult() { | 95 NaClLaunchResult::~NaClLaunchResult() { |
97 } | 96 } |
98 | 97 |
99 } // namespace nacl | 98 } // namespace nacl |
OLD | NEW |