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

Unified Diff: chrome/browser/views/find_bar_host_interactive_uitest.cc

Issue 1814002: Remove deprecated things from net test suite: (Closed)
Patch Set: Created 10 years, 8 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
Index: chrome/browser/views/find_bar_host_interactive_uitest.cc
diff --git a/chrome/browser/views/find_bar_host_interactive_uitest.cc b/chrome/browser/views/find_bar_host_interactive_uitest.cc
index f4e9b2796ee35c1a720999e4f855a104751b755e..97ad741e07e68a18d939aef726d0db44df2c6c63 100644
--- a/chrome/browser/views/find_bar_host_interactive_uitest.cc
+++ b/chrome/browser/views/find_bar_host_interactive_uitest.cc
@@ -23,7 +23,7 @@ namespace {
// The delay waited after sending an OS simulated event.
static const int kActionDelayMs = 500;
static const wchar_t kDocRoot[] = L"chrome/test/data";
-static const wchar_t kSimplePage[] = L"404_is_enough_for_us.html";
+static const char kSimplePage[] = "404_is_enough_for_us.html";
class FindInPageTest : public InProcessBrowserTest {
public:
@@ -86,7 +86,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageTest, CrashEscHandlers) {
ASSERT_TRUE(NULL != server.get());
// First we navigate to our test page (tab A).
- GURL url = server->TestServerPageW(kSimplePage);
+ GURL url = server->TestServerPage(kSimplePage);
ui_test_utils::NavigateToURL(browser(), url);
browser()->Find();
@@ -123,7 +123,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageTest, FocusRestore) {
HTTPTestServer::CreateServer(kDocRoot, NULL);
ASSERT_TRUE(NULL != server.get());
- GURL url = server->TestServerPageW(L"title1.html");
+ GURL url = server->TestServerPage("title1.html");
ui_test_utils::NavigateToURL(browser(), url);
// Focus the location bar, open and close the find-in-page, focus should

Powered by Google App Engine
This is Rietveld 408576698