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

Unified Diff: components/nacl/common/nacl_messages.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/common/nacl_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/nacl_messages.h
diff --git a/components/nacl/common/nacl_messages.h b/components/nacl/common/nacl_messages.h
index 90bd1445d3ee84ef98c6a13447d049944bad302a..aed918da76d8badb725ce4a2f328ec6918443dc7 100644
--- a/components/nacl/common/nacl_messages.h
+++ b/components/nacl/common/nacl_messages.h
@@ -25,6 +25,12 @@ IPC_STRUCT_TRAITS_BEGIN(nacl::NaClStartParams)
#if defined(OS_POSIX)
IPC_STRUCT_TRAITS_MEMBER(debug_stub_server_bound_socket)
#endif
+#if defined(OS_LINUX) || defined(OS_NACL_NONSFI)
+ IPC_STRUCT_TRAITS_MEMBER(ppapi_browser_channel_handle)
+ IPC_STRUCT_TRAITS_MEMBER(ppapi_renderer_channel_handle)
+ IPC_STRUCT_TRAITS_MEMBER(trusted_service_channel_handle)
+ IPC_STRUCT_TRAITS_MEMBER(manifest_service_channel_handle)
+#endif
IPC_STRUCT_TRAITS_MEMBER(validation_cache_enabled)
IPC_STRUCT_TRAITS_MEMBER(validation_cache_key)
IPC_STRUCT_TRAITS_MEMBER(version)
@@ -119,6 +125,8 @@ IPC_MESSAGE_CONTROL4(NaClProcessMsg_ResolveFileTokenReply,
// Notify the browser process that the server side of the PPAPI channel was
// created successfully.
+// This is used for SFI mode only. Non-SFI mode passes channel handles in
+// NaClStartParams instead.
IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated,
IPC::ChannelHandle, /* browser_channel_handle */
IPC::ChannelHandle, /* ppapi_renderer_channel_handle */
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/common/nacl_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698