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

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

Issue 508493003: Use WaitForDebuggerChildren to let renderer wait for gdb (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename the flag to kRendererWaitForDebugger Created 6 years, 4 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 | content/public/common/content_switches.h » ('j') | content/public/common/content_switches.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index cd0361ea63ea05cc121bbc052726f6475378a394..7d694bd9589f0cc2e7ded9d96ceb307b4066849b 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -639,6 +639,10 @@ bool RenderProcessHostImpl::Init() {
if (!renderer_prefix.empty())
cmd_line->PrependWrapper(renderer_prefix);
AppendRendererCommandLine(cmd_line);
+
+ if (browser_command_line.HasSwitch(switches::kRendererWaitForDebugger))
+ cmd_line->AppendSwitch(switches::kWaitForDebugger);
Charlie Reis 2014/08/29 00:04:24 This belongs in PropagateBrowserCommandLineToRende
Jaekyun Seok (inactive) 2014/08/29 01:05:07 Done.
+
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id);
// Spawn the child process asynchronously to avoid blocking the UI thread.
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | content/public/common/content_switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698