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

Unified Diff: chrome/test/base/in_process_browser_test.cc

Issue 10778044: Always enable dom automation for browser_tests. This avoids developers having to call EnableDOMAuto… (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/base/in_process_browser_test.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/in_process_browser_test.cc
===================================================================
--- chrome/test/base/in_process_browser_test.cc (revision 147000)
+++ chrome/test/base/in_process_browser_test.cc (working copy)
@@ -58,8 +58,7 @@
} // namespace
InProcessBrowserTest::InProcessBrowserTest()
- : browser_(NULL),
- dom_automation_enabled_(false)
+ : browser_(NULL)
#if defined(OS_POSIX)
, handle_sigterm_(true)
#endif
@@ -157,8 +156,7 @@
// Propagate commandline settings from test_launcher_utils.
test_launcher_utils::PrepareBrowserCommandLineForTests(command_line);
- if (dom_automation_enabled_)
- command_line->AppendSwitch(switches::kDomAutomationController);
+ command_line->AppendSwitch(switches::kDomAutomationController);
// This is a Browser test.
command_line->AppendSwitchASCII(switches::kTestType, kBrowserTestType);
« no previous file with comments | « chrome/test/base/in_process_browser_test.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698