We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / content / common / sandbox_linux / bpf_utility_policy_linux.h
blobbf65f335eef4c2fb62c8e1bb4a553ff4e61e8519
1 // Copyright 2014 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_UTILITY_POLICY_LINUX_H_
6 #define CONTENT_COMMON_SANDBOX_LINUX_BPF_UTILITY_POLICY_LINUX_H_
8 #include "content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h"
10 namespace content {
12 // This policy can be used by utility processes.
13 class UtilityProcessPolicy : public SandboxBPFBasePolicy {
14 public:
15 UtilityProcessPolicy();
16 ~UtilityProcessPolicy() override;
18 sandbox::bpf_dsl::ResultExpr EvaluateSyscall(
19 int system_call_number) const override;
21 private:
22 DISALLOW_COPY_AND_ASSIGN(UtilityProcessPolicy);
25 } // namespace content
27 #endif // CONTENT_COMMON_SANDBOX_LINUX_BPF_UTILITY_POLICY_LINUX_H_