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

Unified Diff: chrome/test/automation/tab_proxy.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/automation/proxy_launcher.cc ('k') | chrome/test/chromedriver/chrome_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/tab_proxy.cc
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc
index a88307033a7cd48620bb594051e78c331963d19c..81384d159c176b1ebe6d65d377a1f60e62583f5a 100644
--- a/chrome/test/automation/tab_proxy.cc
+++ b/chrome/test/automation/tab_proxy.cc
@@ -61,7 +61,7 @@ int TabProxy::FindInPage(const std::wstring& search_string,
return -1;
AutomationMsg_Find_Params params;
- params.search_string = WideToUTF16Hack(search_string);
+ params.search_string = base::WideToUTF16Hack(search_string);
params.find_next = find_next;
params.match_case = (match_case == CASE_SENSITIVE);
params.forward = (forward == FWD);
@@ -182,7 +182,7 @@ bool TabProxy::ExecuteAndExtractString(const std::wstring& frame_xpath,
succeeded = value->GetAsString(&read_value);
if (succeeded) {
// TODO(viettrungluu): remove conversion. (But should |jscript| be UTF-8?)
- *string_value = UTF16ToWideHack(read_value);
+ *string_value = base::UTF16ToWideHack(read_value);
}
}
return succeeded;
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | chrome/test/chromedriver/chrome_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698