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

Unified Diff: base/memory/shared_memory_posix.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/logging.cc ('k') | base/posix/safe_strerror.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory_posix.cc
diff --git a/base/memory/shared_memory_posix.cc b/base/memory/shared_memory_posix.cc
index 1ab05b2fbc0877a794931decd01a65f6dfe696a9..35d746e5394e0e042bbaac33421d94c8406e65e2 100644
--- a/base/memory/shared_memory_posix.cc
+++ b/base/memory/shared_memory_posix.cc
@@ -16,9 +16,9 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
+#include "base/posix/safe_strerror.h"
#include "base/process/process_metrics.h"
#include "base/profiler/scoped_tracker.h"
-#include "base/safe_strerror_posix.h"
#include "base/scoped_generic.h"
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/lock.h"
@@ -505,7 +505,7 @@ void SharedMemory::LockOrUnlockCommon(int function) {
<< " function:" << function
<< " fd:" << mapped_file_
<< " errno:" << errno
- << " msg:" << safe_strerror(errno);
+ << " msg:" << base::safe_strerror(errno);
}
}
}
« no previous file with comments | « base/logging.cc ('k') | base/posix/safe_strerror.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698