summaryrefslogtreecommitdiffstats
path: root/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc
diff options
context:
space:
mode:
authormdempsky <mdempsky@chromium.org>2014-09-16 15:35:09 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-16 22:35:38 +0000
commitab2d46af89c657ab4fd01ab00de1ba2a6ad73f8d (patch)
treee85290f3568689a53ba826cec01d805d62d9680e /sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc
parent6ac057568ad9411ab26784ec2bf72f9ae8cfa475 (diff)
downloadchromium_src-ab2d46af89c657ab4fd01ab00de1ba2a6ad73f8d.zip
chromium_src-ab2d46af89c657ab4fd01ab00de1ba2a6ad73f8d.tar.gz
chromium_src-ab2d46af89c657ab4fd01ab00de1ba2a6ad73f8d.tar.bz2
Large IWYU cleanup for seccomp-bpf
I'm reasonably confident that all of the seccomp-bpf/*.h files are now IWYU clean. There might still be some missing/superfluous #include lines in some of the .cc files, but it should overall be much better than before. Two particular changes to note: 1. "base/basictypes.h" is deprecated in favor of <stdint.h> (for standard *int*_t types) and/or "base/macros.h" for DISALLOW_*() macros. 2. This also moves the #include "foo.h" lines to the top of each foo.cc file, per style guide. BUG=408845 Review URL: https://codereview.chromium.org/570163003 Cr-Commit-Position: refs/heads/master@{#295161}
Diffstat (limited to 'sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc')
-rw-r--r--sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc b/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc
index ff659ab..b964cbc 100644
--- a/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc
+++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc
@@ -5,12 +5,11 @@
#include "sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.h"
#include <fcntl.h>
-#include <sys/stat.h>
-#include <sys/types.h>
+#include <linux/filter.h>
-#include "base/basictypes.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
+#include "sandbox/linux/seccomp-bpf/die.h"
#include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
#include "sandbox/linux/tests/unit_tests.h"