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

Unified Diff: content/browser/utility_process_host.cc

Issue 8817013: Revert 113027 - Zygote most of the uses of the utility process on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « content/browser/utility_process_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host.cc
===================================================================
--- content/browser/utility_process_host.cc (revision 113164)
+++ content/browser/utility_process_host.cc (working copy)
@@ -43,10 +43,8 @@
no_sandbox_(false),
#if defined(OS_LINUX)
child_flags_(ChildProcessHost::CHILD_ALLOW_SELF),
- use_linux_zygote_(true),
#else
child_flags_(ChildProcessHost::CHILD_NORMAL),
- use_linux_zygote_(false),
#endif
started_(false) {
}
@@ -117,7 +115,8 @@
cmd_line->AppendSwitch(switches::kDebugPluginLoading);
#if defined(OS_POSIX)
- // TODO(port): Sandbox extension unpacking on Linux.
+ // TODO(port): Sandbox this on Linux. Also, zygote this to work with
+ // Linux updating.
bool has_cmd_prefix = browser_command_line.HasSwitch(
switches::kUtilityCmdPrefix);
if (has_cmd_prefix) {
@@ -130,17 +129,11 @@
cmd_line->AppendSwitchPath(switches::kUtilityProcessAllowedDir, exposed_dir_);
#endif
- bool use_zygote = false;
-
-#if defined(OS_LINUX)
- use_zygote = !no_sandbox_ && use_linux_zygote_;
-#endif
-
Launch(
#if defined(OS_WIN)
exposed_dir_,
#elif defined(OS_POSIX)
- use_zygote,
+ false,
env_,
#endif
cmd_line);
« no previous file with comments | « content/browser/utility_process_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698