Chromium Code Reviews| Index: components/nacl/common/nacl_types.h |
| diff --git a/components/nacl/common/nacl_types.h b/components/nacl/common/nacl_types.h |
| index a3b9eec4e7ea82e60bb27a1df0b408f01674723e..f913795472bbc2f7c9555d467c8a7e91b623d844 100644 |
| --- a/components/nacl/common/nacl_types.h |
| +++ b/components/nacl/common/nacl_types.h |
| @@ -81,6 +81,17 @@ struct NaClStartParams { |
| IPC::PlatformFileForTransit debug_stub_server_bound_socket; |
| #endif |
| +#if defined(OS_LINUX) || defined(OS_NACL_NONSFI) |
| + // These are for Non-SFI mode IPC channels. |
|
Mark Seaborn
2015/05/13 17:15:39
Can you add: "SFI mode uses NaClProcessHostMsg_Ppa
hidehiko
2015/05/18 06:28:14
Done.
|
| + // For security hardening, unlike in SFI mode, we cannot create socket pairs |
| + // in a NaCl loader process. Thus, the browser process creates the |
| + // ChannelHandle instances, and passes them to the NaCl loader process. |
| + IPC::ChannelHandle ppapi_browser_channel_handle; |
| + IPC::ChannelHandle ppapi_renderer_channel_handle; |
| + IPC::ChannelHandle trusted_service_channel_handle; |
| + IPC::ChannelHandle manifest_service_channel_handle; |
| +#endif |
| + |
| bool validation_cache_enabled; |
| std::string validation_cache_key; |
| // Chrome version string. Sending the version string over IPC avoids linkage |