Index: sandbox/linux/bpf_dsl/bpf_dsl_impl.h |
diff --git a/sandbox/linux/bpf_dsl/bpf_dsl_impl.h b/sandbox/linux/bpf_dsl/bpf_dsl_impl.h |
index 48b91692b66272197bbc69f8702b6cd4b0d41a42..2ffaf79c2fda9c4c4bb4e611f5c00a52dfcb7bb5 100644 |
--- a/sandbox/linux/bpf_dsl/bpf_dsl_impl.h |
+++ b/sandbox/linux/bpf_dsl/bpf_dsl_impl.h |
@@ -47,6 +47,12 @@ class ResultExprImpl : public base::RefCounted<ResultExprImpl> { |
// contains an unsafe trap expression. |
virtual bool HasUnsafeTraps() const; |
+ // IsAllow returns whether the result expression is an "allow" result. |
+ virtual bool IsAllow() const; |
+ |
+ // IsAllow returns whether the result expression is a "deny" result. |
+ virtual bool IsDeny() const; |
+ |
protected: |
ResultExprImpl() {} |
virtual ~ResultExprImpl() {} |