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

Unified Diff: chrome/browser/ui/views/about_ipc_dialog.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/ui/views/about_ipc_dialog.cc
diff --git a/chrome/browser/ui/views/about_ipc_dialog.cc b/chrome/browser/ui/views/about_ipc_dialog.cc
index cd87c0c4dc8e9f4f764be3ff4182fd880cd08f68..b76394878748f642b9781f0b09572dbd7b6d1791 100644
--- a/chrome/browser/ui/views/about_ipc_dialog.cc
+++ b/chrome/browser/ui/views/about_ipc_dialog.cc
@@ -96,7 +96,7 @@ void InitDialog(HWND hwnd) {
(*i->second)(&name, NULL, NULL);
if (name.empty())
continue; // Will happen if the message file isn't included above.
- std::wstring wname = UTF8ToWide(name);
+ std::wstring wname = base::UTF8ToWide(name);
int index = messages->InsertItem(
LVIF_TEXT | LVIF_PARAM, 0, wname.c_str(), 0, 0, 0, i->first);
@@ -304,14 +304,14 @@ void AboutIPCDialog::Log(const IPC::LogData& data) {
message_list_.SetItemText(index, kTimeColumn, sent_str.c_str());
message_list_.SetItemText(index, kChannelColumn,
- ASCIIToWide(data.channel).c_str());
+ base::ASCIIToWide(data.channel).c_str());
std::string message_name;
IPC::Logging::GetMessageText(data.type, &message_name, NULL, NULL);
message_list_.SetItemText(index, kMessageColumn,
- UTF8ToWide(message_name).c_str());
+ base::UTF8ToWide(message_name).c_str());
message_list_.SetItemText(index, kFlagsColumn,
- UTF8ToWide(data.flags).c_str());
+ base::UTF8ToWide(data.flags).c_str());
int64 time_to_send = (base::Time::FromInternalValue(data.receive) -
sent).InMilliseconds();
@@ -327,7 +327,7 @@ void AboutIPCDialog::Log(const IPC::LogData& data) {
message_list_.SetItemText(index, kProcessColumn, temp.c_str());
message_list_.SetItemText(index, kParamsColumn,
- UTF8ToWide(data.params).c_str());
+ base::UTF8ToWide(data.params).c_str());
message_list_.EnsureVisible(index, FALSE);
}

Powered by Google App Engine
This is Rietveld 408576698