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

Unified Diff: remoting/host/host_event_logger_win.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « remoting/host/disconnect_window_win.cc ('k') | remoting/host/host_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_event_logger_win.cc
diff --git a/remoting/host/host_event_logger_win.cc b/remoting/host/host_event_logger_win.cc
index 6fd5b6b794307fea161a91240a0c2df57926e14c..a9e22adb608bfa50100fb47f023edecf60df74d6 100644
--- a/remoting/host/host_event_logger_win.cc
+++ b/remoting/host/host_event_logger_win.cc
@@ -60,8 +60,8 @@ HostEventLoggerWin::HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor,
const std::string& application_name)
: monitor_(monitor),
event_log_(NULL) {
- event_log_ = RegisterEventSourceW(NULL,
- UTF8ToUTF16(application_name).c_str());
+ event_log_ = RegisterEventSourceW(
+ NULL, base::UTF8ToUTF16(application_name).c_str());
if (event_log_ != NULL) {
monitor_->AddStatusObserver(this);
} else {
@@ -122,7 +122,7 @@ void HostEventLoggerWin::Log(WORD type,
std::vector<const WCHAR*> raw_strings(strings.size());
std::vector<base::string16> utf16_strings(strings.size());
for (size_t i = 0; i < strings.size(); ++i) {
- utf16_strings[i] = UTF8ToUTF16(strings[i]);
+ utf16_strings[i] = base::UTF8ToUTF16(strings[i]);
raw_strings[i] = utf16_strings[i].c_str();
}
« no previous file with comments | « remoting/host/disconnect_window_win.cc ('k') | remoting/host/host_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698