Index: chrome/test/in_process_browser_test.cc |
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc |
index bbfdb64573b754349dee3af428802eec1e1dfa54..292ae8e09f41c3469d050092af9a7733e027add4 100644 |
--- a/chrome/test/in_process_browser_test.cc |
+++ b/chrome/test/in_process_browser_test.cc |
@@ -124,6 +124,11 @@ void InProcessBrowserTest::SetUp() { |
command_line->AppendSwitchWithValue(switches::kBrowserSubprocessPath, |
subprocess_path); |
+ // Enable warning level logging so that we can see when bad stuff happens. |
+ command_line->AppendSwitch(switches::kEnableLogging); |
+ command_line->AppendSwitchWithValue(switches::kLoggingLevel, |
+ IntToWString(1)); // warning |
+ |
SandboxInitWrapper sandbox_wrapper; |
MainFunctionParams params(*command_line, sandbox_wrapper, NULL); |
params.ui_task = |