summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_focus_uitest.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-03 05:14:19 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-03 05:14:19 +0000
commit13324ed091df492d73310f69b377ee3d52befedc (patch)
treeef05732c07f41d299c5a002cf2b3b983401b69cb /chrome/browser/browser_focus_uitest.cc
parentf5ecbba1f92417edf8759d93904e12cfe9a2d0b4 (diff)
downloadchromium_src-13324ed091df492d73310f69b377ee3d52befedc.zip
chromium_src-13324ed091df492d73310f69b377ee3d52befedc.tar.gz
chromium_src-13324ed091df492d73310f69b377ee3d52befedc.tar.bz2
Move code to allow dns queries (and accompanying
TODO) from each in-process ui test into the base class, since it is really the base class that is initiating these queries (by way of starting the browser). Review URL: http://codereview.chromium.org/56173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13069 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_focus_uitest.cc')
-rw-r--r--chrome/browser/browser_focus_uitest.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/browser_focus_uitest.cc b/chrome/browser/browser_focus_uitest.cc
index 58b56cd..70b9a2a 100644
--- a/chrome/browser/browser_focus_uitest.cc
+++ b/chrome/browser/browser_focus_uitest.cc
@@ -21,7 +21,6 @@
#include "chrome/views/window/window.h"
#include "chrome/test/in_process_browser_test.h"
#include "chrome/test/ui_test_utils.h"
-#include "net/base/host_resolver_unittest.h"
namespace {
@@ -36,19 +35,9 @@ const wchar_t kTypicalPage[] = L"files/focus/typical_page.html";
class BrowserFocusTest : public InProcessBrowserTest {
public:
BrowserFocusTest() {
- host_mapper_ = new net::RuleBasedHostMapper();
- // TODO(phajdan.jr): Don't make a real dns lookup here.
- // page_with_focus.html has a reference to google.com.
- host_mapper_->AllowDirectLookup("*.google.com");
- scoped_host_mapper_.Init(host_mapper_.get());
-
set_show_window(true);
EnableDOMAutomation();
}
-
-private:
- scoped_refptr<net::RuleBasedHostMapper> host_mapper_;
- net::ScopedHostMapper scoped_host_mapper_;
};
class JavaScriptRunner : public NotificationObserver {