summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authortfarina <tfarina@chromium.org>2015-04-08 21:52:14 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-09 04:52:52 +0000
commitde79bd9e93c161fe98a97499a6f06b7f2f0823d8 (patch)
tree081d8011028e0a684439f6779ac7c2d5fbe20d88 /sandbox
parent82a08f2840b6fdab51581818b4bbec07719541e3 (diff)
downloadchromium_src-de79bd9e93c161fe98a97499a6f06b7f2f0823d8.zip
chromium_src-de79bd9e93c161fe98a97499a6f06b7f2f0823d8.tar.gz
chromium_src-de79bd9e93c161fe98a97499a6f06b7f2f0823d8.tar.bz2
Cleanup: Remove basictypes.h includes from seccomp-bpf-helpers.
Tested on Linux with the following command lines: $ rm -rf out/ $ ./build/gyp_chromium $ ninja -C out/Debug sandbox_linux_unittests $ out/Debug/sandbox_linux_unittests BUG=138542 TEST=see above R=jln@chromium.org,mdempsky@chromium.org Review URL: https://codereview.chromium.org/1062223002 Cr-Commit-Position: refs/heads/master@{#324378}
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc1
-rw-r--r--sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h3
-rw-r--r--sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc2
-rw-r--r--sandbox/linux/seccomp-bpf-helpers/syscall_sets.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc b/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
index 21fd4d7..d449156 100644
--- a/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
+++ b/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
@@ -9,7 +9,6 @@
#include <sys/syscall.h>
#include <unistd.h>
-#include "base/basictypes.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"
diff --git a/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h b/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
index 38e02bf..c64e994 100644
--- a/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
+++ b/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h
@@ -5,7 +5,8 @@
#ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_
#define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "build/build_config.h"
#include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h"
#include "sandbox/sandbox_export.h"
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
index c081b29..b315f12a 100644
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc
@@ -11,6 +11,7 @@
#include <linux/net.h>
#include <sched.h>
#include <signal.h>
+#include <stdint.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/prctl.h>
@@ -21,7 +22,6 @@
#include <time.h>
#include <unistd.h>
-#include "base/basictypes.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/time/time.h"
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
index 1dbd949..5ba6335 100644
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_sets.h
@@ -5,7 +5,7 @@
#ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
#define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SYSCALL_SETS_H_
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "build/build_config.h"
#include "sandbox/sandbox_export.h"