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

Unified Diff: base/logging.cc

Issue 102993018: Remove UTF string conversion functions from the global namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aaaaaaaaaa Created 7 years 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 | « base/i18n/file_util_icu_unittest.cc ('k') | base/strings/string_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/logging.cc
diff --git a/base/logging.cc b/base/logging.cc
index e836092e76657df2e66349b624441a399cf7c0cc..e1305f1c2d1fb323d2276ae6491e4060724a2ca1 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -494,7 +494,7 @@ void DisplayDebugMessageInDialog(const std::string& str) {
backslash[1] = 0;
wcscat_s(prog_name, MAX_PATH, L"debug_message.exe");
- std::wstring cmdline = UTF8ToWide(str);
+ std::wstring cmdline = base::UTF8ToWide(str);
if (cmdline.empty())
return;
@@ -862,5 +862,5 @@ std::wstring GetLogFileFullPath() {
} // namespace logging
std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
- return out << WideToUTF8(std::wstring(wstr));
+ return out << base::WideToUTF8(std::wstring(wstr));
}
« no previous file with comments | « base/i18n/file_util_icu_unittest.cc ('k') | base/strings/string_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698