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

Unified Diff: remoting/tools/breakpad_tester_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/win/wts_terminal_monitor.cc ('k') | ui/gfx/win/hwnd_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/tools/breakpad_tester_win.cc
diff --git a/remoting/tools/breakpad_tester_win.cc b/remoting/tools/breakpad_tester_win.cc
index b87d878bd189e54b9b8eef84302c0fddbce4979d..846d61eb932f5c77e2e7a98dec41ea79e8887f5b 100644
--- a/remoting/tools/breakpad_tester_win.cc
+++ b/remoting/tools/breakpad_tester_win.cc
@@ -64,7 +64,7 @@ int main(int argc, char** argv) {
base::win::ScopedHandle process;
process.Set(OpenProcess(desired_access, FALSE, pid));
if (!process.IsValid()) {
- LOG_GETLASTERROR(ERROR) << "Failed to open the process " << pid;
+ PLOG(ERROR) << "Failed to open the process " << pid;
return kErrorExitCode;
}
@@ -73,7 +73,7 @@ int main(int argc, char** argv) {
thread.Set(CreateRemoteThread(process.Get(), NULL, 0, NULL, NULL, 0,
&thread_id));
if (!thread.IsValid()) {
- LOG_GETLASTERROR(ERROR) << "Failed to create a remote thread in " << pid;
+ PLOG(ERROR) << "Failed to create a remote thread in " << pid;
return kErrorExitCode;
}
« no previous file with comments | « remoting/host/win/wts_terminal_monitor.cc ('k') | ui/gfx/win/hwnd_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698