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

Unified Diff: sandbox/linux/seccomp-bpf/bpf_tests.h

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 8 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 | « sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h ('k') | sandbox/linux/seccomp-bpf/die.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf/bpf_tests.h
diff --git a/sandbox/linux/seccomp-bpf/bpf_tests.h b/sandbox/linux/seccomp-bpf/bpf_tests.h
index 57de1dd8171587201302c028590d94f03901314f..cc4debd4c30b1bdc64b841bea77a1d136fc7b223 100644
--- a/sandbox/linux/seccomp-bpf/bpf_tests.h
+++ b/sandbox/linux/seccomp-bpf/bpf_tests.h
@@ -102,12 +102,12 @@ class BPFTesterSimpleDelegate : public BPFTesterDelegate {
public:
explicit BPFTesterSimpleDelegate(void (*test_function)(void))
: test_function_(test_function) {}
- virtual ~BPFTesterSimpleDelegate() {}
+ ~BPFTesterSimpleDelegate() override {}
- virtual scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
+ scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
return scoped_ptr<bpf_dsl::Policy>(new PolicyClass());
}
- virtual void RunTestFunction() override {
+ void RunTestFunction() override {
DCHECK(test_function_);
test_function_();
}
« no previous file with comments | « sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h ('k') | sandbox/linux/seccomp-bpf/die.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698