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: test/errors.cc

Issue 1181043002: Roll DEPS for mini_chromium for updates to base/posix/safe_strerror (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Remove include from mach_errors, as it doesn't use safe_strerror 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 | « DEPS ('k') | test/mac/mach_errors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/errors.cc
diff --git a/test/errors.cc b/test/errors.cc
index 82376309fc49c7aac44ead568bbc2c66f9770d8d..14845062566a30ea2729cbd544a8d9ea7cc98309 100644
--- a/test/errors.cc
+++ b/test/errors.cc
@@ -21,7 +21,7 @@
#include "build/build_config.h"
#if defined(OS_POSIX)
-#include "base/safe_strerror_posix.h"
+#include "base/posix/safe_strerror.h"
#elif defined(OS_WIN)
#include <string.h>
#include <windows.h>
@@ -32,7 +32,7 @@ namespace test {
std::string ErrnoMessage(int err, const std::string& base) {
#if defined(OS_POSIX)
- std::string err_as_string = safe_strerror(errno);
+ std::string err_as_string = base::safe_strerror(errno);
const char* err_string = err_as_string.c_str();
#elif defined(OS_WIN)
char err_string[256];
« no previous file with comments | « DEPS ('k') | test/mac/mach_errors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698