1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_BPF_PPAPI_POLICY_LINUX_H_
6 #define CONTENT_COMMON_SANDBOX_LINUX_BPF_PPAPI_POLICY_LINUX_H_
8 #include "content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h"
12 // Policy for Pepper plugins such as Flash.
13 class PpapiProcessPolicy
: public SandboxBPFBasePolicy
{
16 ~PpapiProcessPolicy() override
;
18 sandbox::bpf_dsl::ResultExpr
EvaluateSyscall(
19 int system_call_number
) const override
;
22 DISALLOW_COPY_AND_ASSIGN(PpapiProcessPolicy
);
25 } // namespace content
27 #endif // CONTENT_COMMON_SANDBOX_LINUX_BPF_PPAPI_POLICY_LINUX_H_