Index: sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.h |
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.h b/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.h |
index 626ac4eed3b94a23373db7f1c45c05766b4a18ff..5d6b37460071a4c0afab7774ac0112d31527c551 100644 |
--- a/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.h |
+++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_test_runner.h |
@@ -7,10 +7,12 @@ |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
-#include "sandbox/linux/bpf_dsl/bpf_dsl.h" |
#include "sandbox/linux/tests/sandbox_test_runner.h" |
namespace sandbox { |
+namespace bpf_dsl { |
+class Policy; |
+} |
// To create a SandboxBPFTestRunner object, one needs to implement this |
// interface and pass an instance to the SandboxBPFTestRunner constructor. |
@@ -24,7 +26,7 @@ class BPFTesterDelegate { |
// This will instanciate a policy suitable for the test we want to run. It is |
// guaranteed to only be called from the child process that will run the |
// test. |
- virtual scoped_ptr<bpf_dsl::SandboxBPFDSLPolicy> GetSandboxBPFPolicy() = 0; |
+ virtual scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() = 0; |
// This will be called from a child process with the BPF sandbox turned on. |
virtual void RunTestFunction() = 0; |