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

Side by Side Diff: content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.h

Issue 630853003: Replace OVERRIDE and FINAL with override and final in content/common/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_ANDROID_SANDBOX_BPF_BASE_POLICY_ANDROID_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_LINUX_ANDROID_SANDBOX_BPF_BASE_POLICY_ANDROID_H_
6 #define CONTENT_COMMON_SANDBOX_LINUX_ANDROID_SANDBOX_BPF_BASE_POLICY_ANDROID_H_ 6 #define CONTENT_COMMON_SANDBOX_LINUX_ANDROID_SANDBOX_BPF_BASE_POLICY_ANDROID_H_
7 7
8 #include "content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h" 8 #include "content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 // This class builds on top of the generic Linux baseline policy to reduce 12 // This class builds on top of the generic Linux baseline policy to reduce
13 // Linux kernel attack surface. It augments the list of allowed syscalls to 13 // Linux kernel attack surface. It augments the list of allowed syscalls to
14 // allow ones required by the Android runtime. 14 // allow ones required by the Android runtime.
15 class SandboxBPFBasePolicyAndroid : public SandboxBPFBasePolicy { 15 class SandboxBPFBasePolicyAndroid : public SandboxBPFBasePolicy {
16 public: 16 public:
17 SandboxBPFBasePolicyAndroid(); 17 SandboxBPFBasePolicyAndroid();
18 virtual ~SandboxBPFBasePolicyAndroid(); 18 virtual ~SandboxBPFBasePolicyAndroid();
19 19
20 // sandbox::SandboxBPFPolicy: 20 // sandbox::SandboxBPFPolicy:
21 virtual sandbox::bpf_dsl::ResultExpr EvaluateSyscall( 21 virtual sandbox::bpf_dsl::ResultExpr EvaluateSyscall(
22 int system_call_number) const OVERRIDE; 22 int system_call_number) const override;
23 23
24 private: 24 private:
25 DISALLOW_COPY_AND_ASSIGN(SandboxBPFBasePolicyAndroid); 25 DISALLOW_COPY_AND_ASSIGN(SandboxBPFBasePolicyAndroid);
26 }; 26 };
27 27
28 } // namespace content 28 } // namespace content
29 29
30 #endif // CONTENT_COMMON_SANDBOX_LINUX_ANDROID_SANDBOX_BPF_BASE_POLICY_ANDROID_ H_ 30 #endif // CONTENT_COMMON_SANDBOX_LINUX_ANDROID_SANDBOX_BPF_BASE_POLICY_ANDROID_ H_
OLDNEW
« no previous file with comments | « content/common/one_writer_seqlock_unittest.cc ('k') | content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698