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

Unified Diff: remoting/host/ipc_util_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/input_injector_win.cc ('k') | remoting/host/local_input_monitor_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_util_win.cc
diff --git a/remoting/host/ipc_util_win.cc b/remoting/host/ipc_util_win.cc
index a8c28db11fee4c2648e1ce213aa78247924beacd..37c3383087e1573b92a8eb4a4a44e0cd30fb1d45 100644
--- a/remoting/host/ipc_util_win.cc
+++ b/remoting/host/ipc_util_win.cc
@@ -78,7 +78,7 @@ bool CreateConnectedIpcChannel(
FILE_FLAG_OVERLAPPED,
NULL));
if (!client.IsValid()) {
- LOG_GETLASTERROR(ERROR) << "Failed to connect to '" << pipe_name << "'";
+ PLOG(ERROR) << "Failed to connect to '" << pipe_name << "'";
return false;
}
@@ -94,8 +94,8 @@ bool CreateIpcChannel(
// Create security descriptor for the channel.
ScopedSd sd = ConvertSddlToSd(pipe_security_descriptor);
if (!sd) {
- LOG_GETLASTERROR(ERROR) <<
- "Failed to create a security descriptor for the Chromoting IPC channel";
+ PLOG(ERROR) << "Failed to create a security descriptor for the Chromoting "
+ "IPC channel";
return false;
}
@@ -121,8 +121,8 @@ bool CreateIpcChannel(
5000,
&security_attributes));
if (!pipe.IsValid()) {
- LOG_GETLASTERROR(ERROR) <<
- "Failed to create the server end of the Chromoting IPC channel";
+ PLOG(ERROR)
+ << "Failed to create the server end of the Chromoting IPC channel";
return false;
}
« no previous file with comments | « remoting/host/input_injector_win.cc ('k') | remoting/host/local_input_monitor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698