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

Unified Diff: remoting/host/win/com_security.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/usage_stats_consent_win.cc ('k') | remoting/host/win/elevated_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/com_security.cc
diff --git a/remoting/host/win/com_security.cc b/remoting/host/win/com_security.cc
index 34b3dc420253b94559ee3ffdb7b12038145295a1..9cefaad2d74b5800abd978d44ef7d32428cac745 100644
--- a/remoting/host/win/com_security.cc
+++ b/remoting/host/win/com_security.cc
@@ -25,7 +25,7 @@ bool InitializeComSecurity(const std::string& security_descriptor,
// Convert the SDDL description into a security descriptor in absolute format.
ScopedSd relative_sd = ConvertSddlToSd(sddl);
if (!relative_sd) {
- LOG_GETLASTERROR(ERROR) << "Failed to create a security descriptor";
+ PLOG(ERROR) << "Failed to create a security descriptor";
return false;
}
ScopedSd absolute_sd;
@@ -35,7 +35,7 @@ bool InitializeComSecurity(const std::string& security_descriptor,
ScopedAcl sacl;
if (!MakeScopedAbsoluteSd(relative_sd, &absolute_sd, &dacl, &group, &owner,
&sacl)) {
- LOG_GETLASTERROR(ERROR) << "MakeScopedAbsoluteSd() failed";
+ PLOG(ERROR) << "MakeScopedAbsoluteSd() failed";
return false;
}
« no previous file with comments | « remoting/host/usage_stats_consent_win.cc ('k') | remoting/host/win/elevated_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698