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

Unified Diff: chrome/browser/automation/testing_automation_provider.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
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index b1af9f2ca8a73834526cfa14a16dd17b459b8cff..1c37f6a15f8262f8d0d85fb323d5ec9445c30716 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -989,7 +989,7 @@ void TestingAutomationProvider::GetTabTitle(int handle,
NavigationController* tab = tab_tracker_->GetResource(handle);
NavigationEntry* entry = tab->GetActiveEntry();
if (entry != NULL) {
- *title = UTF16ToWideHack(entry->GetTitleForDisplay(""));
+ *title = base::UTF16ToWideHack(entry->GetTitleForDisplay(""));
} else {
*title = std::wstring();
}
@@ -1050,8 +1050,9 @@ void TestingAutomationProvider::ExecuteJavascript(
}
new DomOperationMessageSender(this, reply_message, false);
- ExecuteJavascriptInRenderViewFrame(WideToUTF16Hack(frame_xpath),
- WideToUTF16Hack(script), reply_message,
+ ExecuteJavascriptInRenderViewFrame(base::WideToUTF16Hack(frame_xpath),
+ base::WideToUTF16Hack(script),
+ reply_message,
web_contents->GetRenderViewHost());
}
« no previous file with comments | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/bookmarks/bookmark_index_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698