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

Unified Diff: chrome/browser/browser_keyevents_browsertest.cc

Issue 12314090: Add utf_string_conversions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils_unittest.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_keyevents_browsertest.cc
diff --git a/chrome/browser/browser_keyevents_browsertest.cc b/chrome/browser/browser_keyevents_browsertest.cc
index 6704bc13d4d7e844a1569380a84f050f4050e306..7fdfde315689770d107dc89bd13287b0cfe1a2bd 100644
--- a/chrome/browser/browser_keyevents_browsertest.cc
+++ b/chrome/browser/browser_keyevents_browsertest.cc
@@ -205,7 +205,7 @@ class BrowserKeyEventsTest : public InProcessBrowserTest {
browser()->tab_strip_model()->GetWebContentsAt(tab_index),
kGetFocusedElementJS,
&actual));
- ASSERT_EQ(WideToUTF8(focused), actual);
+ ASSERT_EQ(base::WideToUTF8(focused), actual);
}
void SetFocusedElement(int tab_index, const wchar_t* focused) {
@@ -226,7 +226,7 @@ class BrowserKeyEventsTest : public InProcessBrowserTest {
browser()->tab_strip_model()->GetWebContentsAt(tab_index),
base::StringPrintf(kGetTextBoxValueJS, id),
&actual));
- ASSERT_EQ(WideToUTF8(value), actual);
+ ASSERT_EQ(base::WideToUTF8(value), actual);
}
void SetTextBoxValue(int tab_index, const wchar_t* id,
@@ -237,7 +237,7 @@ class BrowserKeyEventsTest : public InProcessBrowserTest {
browser()->tab_strip_model()->GetWebContentsAt(tab_index),
base::StringPrintf(kSetTextBoxValueJS, id, value),
&actual));
- ASSERT_EQ(WideToUTF8(value), actual);
+ ASSERT_EQ(base::WideToUTF8(value), actual);
}
void StartTest(int tab_index, int result_length) {
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils_unittest.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698