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

Unified Diff: chrome/browser/apps/web_view_interactive_browsertest.cc

Issue 109013006: Update some uses of UTF conversions in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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/apps/web_view_interactive_browsertest.cc
diff --git a/chrome/browser/apps/web_view_interactive_browsertest.cc b/chrome/browser/apps/web_view_interactive_browsertest.cc
index 15a1bba4652133f4a483354e60b65ec7c86a0fc8..96dc6dc5fc06cd9103748b596fea937ac78a3c96 100644
--- a/chrome/browser/apps/web_view_interactive_browsertest.cc
+++ b/chrome/browser/apps/web_view_interactive_browsertest.cc
@@ -297,8 +297,8 @@ class WebViewInteractiveTest
};
void WaitForTitle(const char* title) {
- base::string16 expected_title(ASCIIToUTF16(title));
- base::string16 error_title(ASCIIToUTF16("FAILED"));
+ base::string16 expected_title(base::ASCIIToUTF16(title));
+ base::string16 error_title(base::ASCIIToUTF16("FAILED"));
content::TitleWatcher title_watcher(guest_web_contents(), expected_title);
title_watcher.AlsoWaitForTitle(error_title);
ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle());
@@ -324,8 +324,8 @@ class WebViewInteractiveTest
ASSERT_TRUE(!popup_rwh->IsRenderView());
ASSERT_TRUE(popup_rwh->GetView());
- base::string16 expected_title = ASCIIToUTF16("PASSED2");
- base::string16 error_title = ASCIIToUTF16("FAILED");
+ base::string16 expected_title = base::ASCIIToUTF16("PASSED2");
+ base::string16 error_title = base::ASCIIToUTF16("FAILED");
content::TitleWatcher title_watcher(guest_web_contents(), expected_title);
title_watcher.AlsoWaitForTitle(error_title);
EXPECT_TRUE(content::ExecuteScript(guest_web_contents(),
« no previous file with comments | « chrome/browser/apps/web_view_browsertest.cc ('k') | chrome/browser/autocomplete/autocomplete_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698