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

Unified Diff: base/logging.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 | « base/debug/debugger_posix.cc ('k') | base/memory/shared_memory_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/logging.cc
diff --git a/base/logging.cc b/base/logging.cc
index 2f1d837a00d3e52bcbd783961fa79539b5d53b53..71528ad3f4ece402cdc70a65cf947a5d2d9d2ca8 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -59,7 +59,7 @@ typedef pthread_mutex_t* MutexHandle;
#include "base/threading/platform_thread.h"
#include "base/vlog.h"
#if defined(OS_POSIX)
-#include "base/safe_strerror_posix.h"
+#include "base/posix/safe_strerror.h"
#endif
#if defined(OS_ANDROID)
@@ -719,7 +719,7 @@ BASE_EXPORT std::string SystemErrorCodeToString(SystemErrorCode error_code) {
}
#elif defined(OS_POSIX)
BASE_EXPORT std::string SystemErrorCodeToString(SystemErrorCode error_code) {
- return safe_strerror(error_code);
+ return base::safe_strerror(error_code);
}
#else
#error Not implemented
« no previous file with comments | « base/debug/debugger_posix.cc ('k') | base/memory/shared_memory_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698