mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-10 06:36:02 +00:00
Roll DEPS for mini_chromium for updates to base/posix/safe_strerror
Also updates includes and usage of safe_strerror. BUG=499322 R=rsesek@chromium.org Review URL: https://codereview.chromium.org/1181043002. Patch from Jackie Quinn <jyquinn@chromium.org>.
This commit is contained in:
parent
1d33a8b0b6
commit
797adb3206
2
DEPS
2
DEPS
@ -28,7 +28,7 @@ deps = {
|
|||||||
'32ca1cd8e010d013a606a752fb49a603a3598071', # svn r2015
|
'32ca1cd8e010d013a606a752fb49a603a3598071', # svn r2015
|
||||||
'crashpad/third_party/mini_chromium/mini_chromium':
|
'crashpad/third_party/mini_chromium/mini_chromium':
|
||||||
Var('chromium_git') + '/chromium/mini_chromium@' +
|
Var('chromium_git') + '/chromium/mini_chromium@' +
|
||||||
'98264cf63f22c80ba4ea33405adcc0ddcb8ce0bf',
|
'b8d8fc4d87bbc76376b2e8d3272cb44421556180',
|
||||||
}
|
}
|
||||||
|
|
||||||
hooks = [
|
hooks = [
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include "build/build_config.h"
|
#include "build/build_config.h"
|
||||||
|
|
||||||
#if defined(OS_POSIX)
|
#if defined(OS_POSIX)
|
||||||
#include "base/safe_strerror_posix.h"
|
#include "base/posix/safe_strerror.h"
|
||||||
#elif defined(OS_WIN)
|
#elif defined(OS_WIN)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@ -32,7 +32,7 @@ namespace test {
|
|||||||
|
|
||||||
std::string ErrnoMessage(int err, const std::string& base) {
|
std::string ErrnoMessage(int err, const std::string& base) {
|
||||||
#if defined(OS_POSIX)
|
#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();
|
const char* err_string = err_as_string.c_str();
|
||||||
#elif defined(OS_WIN)
|
#elif defined(OS_WIN)
|
||||||
char err_string[256];
|
char err_string[256];
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
#include <servers/bootstrap.h>
|
#include <servers/bootstrap.h>
|
||||||
|
|
||||||
#include "base/safe_strerror_posix.h"
|
|
||||||
#include "base/strings/stringprintf.h"
|
#include "base/strings/stringprintf.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user