summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_focus_uitest.cc
diff options
context:
space:
mode:
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 {