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

Unified Diff: chrome/test/perf/page_cycler_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/indexeddb_uitest.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/page_cycler_test.cc
diff --git a/chrome/test/perf/page_cycler_test.cc b/chrome/test/perf/page_cycler_test.cc
index 1c07a897bc93dc5f6911e66a68207379fc414d56..61c02a24dff520dc508fb42b05a43e6d953ccc72 100644
--- a/chrome/test/perf/page_cycler_test.cc
+++ b/chrome/test/perf/page_cycler_test.cc
@@ -205,7 +205,7 @@ class PageCyclerTest : public UIPerfTest {
std::string cookie;
ASSERT_TRUE(tab->GetCookieByName(test_url, "__pc_pages", &cookie));
- pages->assign(UTF8ToWide(cookie));
+ pages->assign(base::UTF8ToWide(cookie));
ASSERT_FALSE(pages->empty());
// Wait for the report.html to be loaded.
@@ -279,7 +279,7 @@ class PageCyclerTest : public UIPerfTest {
L"window.domAutomationController.send("
L"window.domAutomationController.getHistogram ? "
L"window.domAutomationController.getHistogram(\"" +
- base::SysUTF8ToWide(name) + L"\") : '')",
+ base::Sysbase::UTF8ToWide(name) + L"\") : '')",
&whistogram));
std::string histogram = base::SysWideToNativeMB(whistogram);
printf("HISTOGRAM %s: %s = %s %s\n",
« no previous file with comments | « chrome/test/perf/indexeddb_uitest.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698