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

Unified Diff: remoting/host/host_event_logger_win.cc

Issue 281223002: Removed LOG_GETLASTERROR and LOG_ERRNO macros. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wed 05/14/2014 11:20:03.21 Created 6 years, 7 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 | « remoting/host/desktop_shape_tracker_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 a9e22adb608bfa50100fb47f023edecf60df74d6..acd6aaf804f5fe52fb63a9f9d8e3f2fd5b03645d 100644
--- a/remoting/host/host_event_logger_win.cc
+++ b/remoting/host/host_event_logger_win.cc
@@ -65,8 +65,7 @@ HostEventLoggerWin::HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor,
if (event_log_ != NULL) {
monitor_->AddStatusObserver(this);
} else {
- LOG_GETLASTERROR(ERROR) << "Failed to register the event source: "
- << application_name;
+ PLOG(ERROR) << "Failed to register the event source: " << application_name;
}
}
@@ -135,7 +134,7 @@ void HostEventLoggerWin::Log(WORD type,
0,
&raw_strings[0],
NULL)) {
- LOG_GETLASTERROR(ERROR) << "Failed to write an event to the event log";
+ PLOG(ERROR) << "Failed to write an event to the event log";
}
}
« no previous file with comments | « remoting/host/desktop_shape_tracker_win.cc ('k') | remoting/host/host_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698