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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 10834068: On Posix, make all child processes quit when the browser dies, not just the renderers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « chrome/test/functional/test_clean_exit.py ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host_impl.cc
===================================================================
--- content/browser/browser_child_process_host_impl.cc (revision 148974)
+++ content/browser/browser_child_process_host_impl.cc (working copy)
@@ -121,6 +121,11 @@
content::GetContentClient()->browser()->AppendExtraCommandLineSwitches(
cmd_line, data_.id);
+#if defined(OS_POSIX)
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChildCleanExit))
+ cmd_line->AppendSwitch(switches::kChildCleanExit);
+#endif
+
child_process_.reset(new ChildProcessLauncher(
#if defined(OS_WIN)
exposed_dir,
« no previous file with comments | « chrome/test/functional/test_clean_exit.py ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698