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

Unified Diff: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc

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
Index: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
index be90eb574592b67d3f43cf04ab91f4eaaa592626..72ef31694d0e1432c04b8a79161e3d856f5b065e 100644
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
@@ -44,7 +44,7 @@ class RestrictClockIdPolicy : public SandboxBPFDSLPolicy {
RestrictClockIdPolicy() {}
virtual ~RestrictClockIdPolicy() {}
- virtual ResultExpr EvaluateSyscall(int sysno) const OVERRIDE {
+ virtual ResultExpr EvaluateSyscall(int sysno) const override {
switch (sysno) {
case __NR_clock_gettime:
case __NR_clock_getres:
@@ -91,11 +91,11 @@ class ClockSystemTesterDelegate : public sandbox::BPFTesterDelegate {
: is_running_on_chromeos_(base::SysInfo::IsRunningOnChromeOS()) {}
virtual ~ClockSystemTesterDelegate() {}
- virtual scoped_ptr<sandbox::SandboxBPFPolicy> GetSandboxBPFPolicy() OVERRIDE {
+ virtual scoped_ptr<sandbox::SandboxBPFPolicy> GetSandboxBPFPolicy() override {
return scoped_ptr<sandbox::SandboxBPFPolicy>(
new RestrictClockIdPolicy());
}
- virtual void RunTestFunction() OVERRIDE {
+ virtual void RunTestFunction() override {
if (is_running_on_chromeos_) {
CheckClock(base::TimeTicks::kClockSystemTrace);
} else {
@@ -148,7 +148,7 @@ class RestrictSchedPolicy : public SandboxBPFDSLPolicy {
RestrictSchedPolicy() {}
virtual ~RestrictSchedPolicy() {}
- virtual ResultExpr EvaluateSyscall(int sysno) const OVERRIDE {
+ virtual ResultExpr EvaluateSyscall(int sysno) const override {
switch (sysno) {
case __NR_sched_getparam:
return RestrictSchedTarget(getpid(), sysno);
« no previous file with comments | « sandbox/linux/seccomp-bpf-helpers/baseline_policy.h ('k') | sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698