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

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 1799923002: Make kExposeInternalsForTesting usable (again) for interactive content_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include path. Created 4 years, 9 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/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index 4fe9084416e5fe8676b9c9c69dde80dd9dcbef04..dd9840a749f27644ba5ca6d597f758f2f6d6ea51 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -234,6 +234,10 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
base::CommandLine* command_line,
int child_process_id) {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kExposeInternalsForTesting)) {
+ command_line->AppendSwitch(switches::kExposeInternalsForTesting);
+ }
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableCrashReporter)) {
command_line->AppendSwitch(switches::kEnableCrashReporter);
}

Powered by Google App Engine
This is Rietveld 408576698