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

Unified Diff: sandbox/linux/bpf_dsl/bpf_dsl.h

Issue 628233002: replace OVERRIDE and FINAL with override and final in sandbox/ (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sandbox/linux/bpf_dsl/bpf_dsl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/bpf_dsl/bpf_dsl.h
diff --git a/sandbox/linux/bpf_dsl/bpf_dsl.h b/sandbox/linux/bpf_dsl/bpf_dsl.h
index 7bb691305ebcaba0885f3a0da3d5b361069fcacd..cedb9d5c784eba95c8969800f913f6919217cbd6 100644
--- a/sandbox/linux/bpf_dsl/bpf_dsl.h
+++ b/sandbox/linux/bpf_dsl/bpf_dsl.h
@@ -39,7 +39,7 @@ class SandboxBPF;
// public:
// SillyPolicy() {}
// virtual ~SillyPolicy() {}
-// virtual ResultExpr EvaluateSyscall(int sysno) const OVERRIDE {
+// virtual ResultExpr EvaluateSyscall(int sysno) const override {
// if (sysno == __NR_fcntl) {
// Arg<int> fd(0), cmd(1);
// Arg<unsigned long> flags(2);
@@ -106,12 +106,12 @@ class SANDBOX_EXPORT SandboxBPFDSLPolicy : public SandboxBPFPolicy {
// system calls. The default is to return ENOSYS.
virtual ResultExpr InvalidSyscall() const;
- // Override implementations from SandboxBPFPolicy. Marked as FINAL
+ // Override implementations from SandboxBPFPolicy. Marked as final
// to prevent mixups with child classes accidentally overloading
// these instead of the above methods.
virtual ErrorCode EvaluateSyscall(SandboxBPF* sb,
- int sysno) const OVERRIDE FINAL;
- virtual ErrorCode InvalidSyscall(SandboxBPF* sb) const OVERRIDE FINAL;
+ int sysno) const override final;
+ virtual ErrorCode InvalidSyscall(SandboxBPF* sb) const override final;
// Helper method so policies can just write Trap(func, aux).
static ResultExpr Trap(Trap::TrapFnc trap_func, const void* aux);
« no previous file with comments | « no previous file | sandbox/linux/bpf_dsl/bpf_dsl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698