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

Unified Diff: content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc

Issue 686523002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc
diff --git a/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc b/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc
index f98db20f50be7775c9a1199bdd5a327098226f48..54daf90eb984cb20cb1cf70e4087a0aae2996915 100644
--- a/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc
+++ b/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc
@@ -80,9 +80,9 @@ inline bool IsArchitectureArm() {
class BlacklistDebugAndNumaPolicy : public SandboxBPFBasePolicy {
public:
BlacklistDebugAndNumaPolicy() {}
- virtual ~BlacklistDebugAndNumaPolicy() {}
+ ~BlacklistDebugAndNumaPolicy() override {}
- virtual ResultExpr EvaluateSyscall(int system_call_number) const override;
+ ResultExpr EvaluateSyscall(int system_call_number) const override;
private:
DISALLOW_COPY_AND_ASSIGN(BlacklistDebugAndNumaPolicy);
@@ -98,9 +98,9 @@ ResultExpr BlacklistDebugAndNumaPolicy::EvaluateSyscall(int sysno) const {
class AllowAllPolicy : public SandboxBPFBasePolicy {
public:
AllowAllPolicy() {}
- virtual ~AllowAllPolicy() {}
+ ~AllowAllPolicy() override {}
- virtual ResultExpr EvaluateSyscall(int system_call_number) const override;
+ ResultExpr EvaluateSyscall(int system_call_number) const override;
private:
DISALLOW_COPY_AND_ASSIGN(AllowAllPolicy);
« no previous file with comments | « content/common/sandbox_linux/sandbox_bpf_base_policy_linux.h ('k') | content/public/browser/desktop_media_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698