Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h

Issue 114483003: Revert of Linux Sandbox: split the GPU policies to their own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/sandbox_linux/OWNERS ('k') | content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
diff --git a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
deleted file mode 100644
index 0ccc93ce270aa84da3543f82b337fcb47f0af2da..0000000000000000000000000000000000000000
--- a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// 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_CROS_ARM_GPU_POLICY_LINUX_H_
-#define CONTENT_COMMON_SANDBOX_LINUX_BPF_CROS_ARM_GPU_POLICY_LINUX_H_
-
-#include "content/common/sandbox_linux/bpf_gpu_policy_linux.h"
-
-namespace content {
-
-// This policy is for Chrome OS ARM.
-class CrosArmGpuProcessPolicy : public GpuProcessPolicy {
- public:
- explicit CrosArmGpuProcessPolicy(bool allow_shmat);
- virtual ~CrosArmGpuProcessPolicy();
-
- virtual ErrorCode EvaluateSyscall(SandboxBPF* sandbox_compiler,
- int system_call_number) const OVERRIDE;
- virtual bool PreSandboxHook() OVERRIDE;
-
- private:
- const bool allow_shmat_; // Allow shmat(2).
- DISALLOW_COPY_AND_ASSIGN(CrosArmGpuProcessPolicy);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_SANDBOX_LINUX_BPF_CROS_ARM_GPU_POLICY_LINUX_H_
« no previous file with comments | « content/common/sandbox_linux/OWNERS ('k') | content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698