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

Unified Diff: chrome/test/perf/url_fetch_test.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/test/perf/tab_switching_test.cc ('k') | chrome/test/pyautolib/pyautolib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/url_fetch_test.cc
diff --git a/chrome/test/perf/url_fetch_test.cc b/chrome/test/perf/url_fetch_test.cc
index 4a88f29cd8ba068d72238812c7cabe61136a058f..2b77ffd43fc1ad85c2293fd509ed6cdaa1e3378c 100644
--- a/chrome/test/perf/url_fetch_test.cc
+++ b/chrome/test/perf/url_fetch_test.cc
@@ -67,8 +67,8 @@ class UrlFetchTest : public UIPerfTest {
} else if (!wait_js_expr.empty()) {
bool completed = WaitUntilJavaScriptCondition(
tab.get(),
- UTF8ToWide(wait_js_frame_xpath),
- UTF8ToWide(wait_js_expr),
+ base::UTF8ToWide(wait_js_frame_xpath),
+ base::UTF8ToWide(wait_js_expr),
wait_js_timeout);
ASSERT_TRUE(completed);
}
@@ -77,10 +77,10 @@ class UrlFetchTest : public UIPerfTest {
"window.domAutomationController.send(%s);", var_to_fetch);
std::wstring value;
- bool success = tab->ExecuteAndExtractString(L"", ASCIIToWide(script),
- &value);
+ bool success = tab->ExecuteAndExtractString(L"",
+ base::ASCIIToWide(script), &value);
ASSERT_TRUE(success);
- result->javascript_variable = WideToUTF8(value);
+ result->javascript_variable = base::WideToUTF8(value);
}
}
};
« no previous file with comments | « chrome/test/perf/tab_switching_test.cc ('k') | chrome/test/pyautolib/pyautolib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698