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

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

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/automation/dom_automation_browsertest.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('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.h
===================================================================
--- chrome/test/base/in_process_browser_test.h (revision 147000)
+++ chrome/test/base/in_process_browser_test.h (working copy)
@@ -173,9 +173,6 @@
return host_resolver_.get();
}
- // Sets some test states (see below for comments). Call this in your test
- // constructor.
- void EnableDOMAutomation() { dom_automation_enabled_ = true; }
#if defined(OS_POSIX)
// This is only needed by a test that raises SIGTERM to ensure that a specific
// codepath is taken.
@@ -212,10 +209,6 @@
// ContentRendererClient when running in single-process mode.
scoped_ptr<content::ContentRendererClient> single_process_renderer_client_;
- // Whether the JavaScript can access the DOMAutomationController (a JS object
- // that can send messages back to the browser).
- bool dom_automation_enabled_;
-
// Host resolver to use during the test.
scoped_refptr<net::RuleBasedHostResolverProc> host_resolver_;
« no previous file with comments | « chrome/test/automation/dom_automation_browsertest.cc ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698