Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: components/nacl/common/nacl_types.h

Issue 1125043002: NaCl: Stop sending resource FDs with NaClProcessMsg_Start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/nacl/common/nacl_messages.h ('k') | components/nacl/loader/nacl_listener.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef COMPONENTS_NACL_COMMON_NACL_TYPES_H_ 5 #ifndef COMPONENTS_NACL_COMMON_NACL_TYPES_H_
6 #define COMPONENTS_NACL_COMMON_NACL_TYPES_H_ 6 #define COMPONENTS_NACL_COMMON_NACL_TYPES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // Parameters sent to the NaCl process when we start it. 87 // Parameters sent to the NaCl process when we start it.
88 struct NaClStartParams { 88 struct NaClStartParams {
89 NaClStartParams(); 89 NaClStartParams();
90 ~NaClStartParams(); 90 ~NaClStartParams();
91 91
92 IPC::PlatformFileForTransit nexe_file; 92 IPC::PlatformFileForTransit nexe_file;
93 // Used only as a key for validation caching. 93 // Used only as a key for validation caching.
94 base::FilePath nexe_file_path_metadata; 94 base::FilePath nexe_file_path_metadata;
95 95
96 std::vector<NaClResourcePrefetchResult> prefetched_resource_files;
97 IPC::PlatformFileForTransit imc_bootstrap_handle; 96 IPC::PlatformFileForTransit imc_bootstrap_handle;
98 IPC::PlatformFileForTransit irt_handle; 97 IPC::PlatformFileForTransit irt_handle;
99 #if defined(OS_MACOSX) 98 #if defined(OS_MACOSX)
100 IPC::PlatformFileForTransit mac_shm_fd; 99 IPC::PlatformFileForTransit mac_shm_fd;
101 #endif 100 #endif
102 #if defined(OS_POSIX) 101 #if defined(OS_POSIX)
103 IPC::PlatformFileForTransit debug_stub_server_bound_socket; 102 IPC::PlatformFileForTransit debug_stub_server_bound_socket;
104 #endif 103 #endif
105 104
106 bool validation_cache_enabled; 105 bool validation_cache_enabled;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 base::ProcessId plugin_pid; 185 base::ProcessId plugin_pid;
187 int plugin_child_id; 186 int plugin_child_id;
188 187
189 // For NaCl <-> renderer crash information reporting. 188 // For NaCl <-> renderer crash information reporting.
190 base::SharedMemoryHandle crash_info_shmem_handle; 189 base::SharedMemoryHandle crash_info_shmem_handle;
191 }; 190 };
192 191
193 } // namespace nacl 192 } // namespace nacl
194 193
195 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_ 194 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_messages.h ('k') | components/nacl/loader/nacl_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698