blob: ce00cd78c0fd919ce18c4f4d3b80fdc23e56ce86 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_SANDBOX_LINUX_BPF_RENDERER_POLICY_LINUX_H_
#define CONTENT_COMMON_SANDBOX_LINUX_BPF_RENDERER_POLICY_LINUX_H_
#include "content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h"
namespace content {
// This policy can be used by both renderer and worker processes.
class RendererProcessPolicy : public SandboxBPFBasePolicy {
public:
RendererProcessPolicy();
virtual ~RendererProcessPolicy();
virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler,
int system_call_number) const OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(RendererProcessPolicy);
};
} // namespace content
#endif // CONTENT_COMMON_SANDBOX_LINUX_BPF_RENDERER_POLICY_LINUX_H_