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..32d4c0cccc4b4d1a36562337fcaf8fcc2beb1cf8 100644 |
--- a/components/nacl/common/nacl_types.h |
+++ b/components/nacl/common/nacl_types.h |
@@ -81,6 +81,18 @@ 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. |
+ // 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. |
+ // SFI mode uses NaClProcessHostMsg_PpapiChannelsCreated instead. |
+ 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 |