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

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

Issue 1051243002: Non-SFI: move socketpair() from plugin process to browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/nonsfi/nonsfi_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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 IPC::PlatformFileForTransit imc_bootstrap_handle; 75 IPC::PlatformFileForTransit imc_bootstrap_handle;
76 IPC::PlatformFileForTransit irt_handle; 76 IPC::PlatformFileForTransit irt_handle;
77 #if defined(OS_MACOSX) 77 #if defined(OS_MACOSX)
78 IPC::PlatformFileForTransit mac_shm_fd; 78 IPC::PlatformFileForTransit mac_shm_fd;
79 #endif 79 #endif
80 #if defined(OS_POSIX) 80 #if defined(OS_POSIX)
81 IPC::PlatformFileForTransit debug_stub_server_bound_socket; 81 IPC::PlatformFileForTransit debug_stub_server_bound_socket;
82 #endif 82 #endif
83 83
84 #if defined(OS_LINUX) || defined(OS_NACL_NONSFI)
85 // These are for Non-SFI mode IPC channels.
86 // For security hardening, unlike in SFI mode, we cannot create socket pairs
87 // in a NaCl loader process. Thus, the browser process creates the
88 // ChannelHandle instances, and passes them to the NaCl loader process.
89 // SFI mode uses NaClProcessHostMsg_PpapiChannelsCreated instead.
90 IPC::ChannelHandle ppapi_browser_channel_handle;
91 IPC::ChannelHandle ppapi_renderer_channel_handle;
92 IPC::ChannelHandle trusted_service_channel_handle;
93 IPC::ChannelHandle manifest_service_channel_handle;
94 #endif
95
84 bool validation_cache_enabled; 96 bool validation_cache_enabled;
85 std::string validation_cache_key; 97 std::string validation_cache_key;
86 // Chrome version string. Sending the version string over IPC avoids linkage 98 // Chrome version string. Sending the version string over IPC avoids linkage
87 // issues in cases where NaCl is not compiled into the main Chromium 99 // issues in cases where NaCl is not compiled into the main Chromium
88 // executable or DLL. 100 // executable or DLL.
89 std::string version; 101 std::string version;
90 102
91 bool enable_debug_stub; 103 bool enable_debug_stub;
92 bool enable_ipc_proxy; 104 bool enable_ipc_proxy;
93 105
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 base::ProcessId plugin_pid; 176 base::ProcessId plugin_pid;
165 int plugin_child_id; 177 int plugin_child_id;
166 178
167 // For NaCl <-> renderer crash information reporting. 179 // For NaCl <-> renderer crash information reporting.
168 base::SharedMemoryHandle crash_info_shmem_handle; 180 base::SharedMemoryHandle crash_info_shmem_handle;
169 }; 181 };
170 182
171 } // namespace nacl 183 } // namespace nacl
172 184
173 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_ 185 #endif // COMPONENTS_NACL_COMMON_NACL_TYPES_H_
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_messages.h ('k') | components/nacl/loader/nonsfi/nonsfi_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698