Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / sandbox / linux / seccomp-bpf / verifier.h
index 25a53ce..6bd747b 100644 (file)
@@ -15,8 +15,10 @@ struct sock_filter;
 
 namespace sandbox {
 struct arch_seccomp_data;
-class SandboxBPF;
-class SandboxBPFPolicy;
+namespace bpf_dsl {
+class Policy;
+class PolicyCompiler;
+}
 
 class Verifier {
  public:
@@ -27,9 +29,9 @@ class Verifier {
   // set by the "evaluators".
   // Upon success, "err" is set to NULL. Upon failure, it contains a static
   // error message that does not need to be free()'d.
-  static bool VerifyBPF(SandboxBPF* sandbox,
+  static bool VerifyBPF(bpf_dsl::PolicyCompiler* compiler,
                         const std::vector<struct sock_filter>& program,
-                        const SandboxBPFPolicy& policy,
+                        const bpf_dsl::Policy& policy,
                         const char** err);
 
   // Evaluate a given BPF program for a particular set of system call