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

Unified Diff: tools/android/forwarder2/common.cc

Issue 1160373004: Move safe_strerror to posix directory and the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 6 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 | « tools/android/forwarder2/command.cc ('k') | tools/android/forwarder2/daemon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder2/common.cc
diff --git a/tools/android/forwarder2/common.cc b/tools/android/forwarder2/common.cc
index 3b7387d3a62b1e1cf113618b959fd03ff0a9b309..ddd8c52b806977463ae3d0bde507ae9a9f1eee43 100644
--- a/tools/android/forwarder2/common.cc
+++ b/tools/android/forwarder2/common.cc
@@ -9,12 +9,12 @@
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
-#include "base/safe_strerror_posix.h"
+#include "base/posix/safe_strerror.h"
namespace forwarder2 {
void PError(const char* msg) {
- LOG(ERROR) << msg << ": " << safe_strerror(errno);
+ LOG(ERROR) << msg << ": " << base::safe_strerror(errno);
}
void CloseFD(int fd) {
« no previous file with comments | « tools/android/forwarder2/command.cc ('k') | tools/android/forwarder2/daemon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698