Index: chrome/browser/extensions/incognito_noscript_apitest.cc |
=================================================================== |
--- chrome/browser/extensions/incognito_noscript_apitest.cc (revision 35740) |
+++ chrome/browser/extensions/incognito_noscript_apitest.cc (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/tab_contents/tab_contents.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/test/ui_test_utils.h" |
+#include "net/base/mock_host_resolver.h" |
IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest, IncognitoNoScript) { |
host_resolver()->AddRule("*", "127.0.0.1"); |
@@ -37,8 +38,8 @@ |
NULL); |
otr_browser->window()->Show(); |
ui_test_utils::WaitForNavigationInCurrentTab(otr_browser); |
- |
- string16 title; |
+ |
+ string16 title; |
ui_test_utils::GetCurrentTabTitle(otr_browser, &title); |
ASSERT_EQ("Unmodified", UTF16ToASCII(title)); |
} |