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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1532423003: Have each SandboxedProcessLauncherDelegate maintain a zygote. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixup the namespace and header name. Created 4 years, 11 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
Index: content/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 79154957c3516b15bd30d948f43c0999da958635..4f5965085313482f4f2eec4e47828e262a455e97 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -263,6 +263,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
BluetoothDispatcherHost* GetBluetoothDispatcherHost();
+#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
+ // Launch the zygote early in the browser startup.
+ static void EarlyZygoteLaunch();
+#endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
+
protected:
// A proxy for our IPC::Channel that lives on the IO thread.
scoped_ptr<IPC::ChannelProxy> channel_;

Powered by Google App Engine
This is Rietveld 408576698