|
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
Committed: https://crrev.com/ab2d46af89c657ab4fd01ab00de1ba2a6ad73f8d
Cr-Commit-Position: refs/heads/master@{#295161}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+71 lines, -42 lines) |
Patch |
 |
M |
components/nacl/loader/nonsfi/nonsfi_sandbox_sigsys_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/sandbox_linux/bpf_gpu_policy_linux.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/bpf_dsl/bpf_dsl_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/bpf_tests.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/codegen.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/codegen.cc
|
View
|
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/codegen_unittest.cc
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/die.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/die.cc
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/errorcode.h
|
View
|
4
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/errorcode.cc
|
View
|
1
4
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/errorcode_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/sandbox_bpf.h
|
View
|
1
2
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/sandbox_bpf.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/sandbox_bpf_compatibility_policy.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/sandbox_bpf_policy.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/syscall_iterator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/syscall_iterator_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/verifier.h
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sandbox/linux/seccomp-bpf/verifier.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 11 (2 generated)
|