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

Unified Diff: components/nacl/browser/nacl_process_host.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 | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_process_host.h
diff --git a/components/nacl/browser/nacl_process_host.h b/components/nacl/browser/nacl_process_host.h
index b244e08bc3d5511979a82471c8b39496c9cfb557..80e2a0ad0d3e86d0f7db7801a565b69300f2768d 100644
--- a/components/nacl/browser/nacl_process_host.h
+++ b/components/nacl/browser/nacl_process_host.h
@@ -166,6 +166,15 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
const base::FilePath& file_path,
base::File nexe_file);
+#if defined(OS_LINUX)
+ // Creates a pair of IPC::ChannelHandle. Returns true on success.
+ static bool CreateChannelHandlePair(ScopedChannelHandle* channel_handle1,
+ ScopedChannelHandle* channel_handle2);
+#endif
+
+ // Starts browser PPAPI proxy. Returns true on success.
+ bool StartPPAPIProxy(ScopedChannelHandle channel_handle);
+
// Does post-process-launching tasks for starting the NaCl process once
// we have a connection.
//
@@ -191,7 +200,7 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
// Called when the PPAPI IPC channels to the browser/renderer have been
// created.
void OnPpapiChannelsCreated(
- const IPC::ChannelHandle& browser_channel_handle,
+ const IPC::ChannelHandle& ppapi_browser_channel_handle,
const IPC::ChannelHandle& ppapi_renderer_channel_handle,
const IPC::ChannelHandle& trusted_renderer_channel_handle,
const IPC::ChannelHandle& manifest_service_channel_handle);
« no previous file with comments | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698