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

Unified Diff: chrome/browser/notifications/notifications_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/notifications/notifications_interactive_uitest.cc
diff --git a/chrome/browser/notifications/notifications_interactive_uitest.cc b/chrome/browser/notifications/notifications_interactive_uitest.cc
index 64ad27acfbd79639941c7dcbdd9663553a7b613e..d8e4b2702f6b8c65c90bf86e17514fa37ba854dd 100644
--- a/chrome/browser/notifications/notifications_interactive_uitest.cc
+++ b/chrome/browser/notifications/notifications_interactive_uitest.cc
@@ -29,8 +29,8 @@ TEST_F(NotificationsPermissionTest, TestUserGestureInfobar) {
scoped_refptr<TabProxy> tab(browser->GetActiveTab());
ASSERT_TRUE(tab.get());
ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS,
- tab->NavigateToURL(server->TestServerPageW(
- L"files/notifications/notifications_request_function.html")));
+ tab->NavigateToURL(server->TestServerPage(
+ "files/notifications/notifications_request_function.html")));
WaitUntilTabCount(1);
// Request permission by calling request() while eval'ing an inline script;
@@ -59,8 +59,8 @@ TEST_F(NotificationsPermissionTest, TestNoUserGestureInfobar) {
// Load a page which just does a request; no user gesture should result
// in no infobar.
ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS,
- tab->NavigateToURL(server->TestServerPageW(
- L"files/notifications/notifications_request_inline.html")));
+ tab->NavigateToURL(server->TestServerPage(
+ "files/notifications/notifications_request_inline.html")));
WaitUntilTabCount(1);
int info_bar_count;

Powered by Google App Engine
This is Rietveld 408576698