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

Side by Side Diff: sandbox/linux/tests/sandbox_test_runner_function_pointer.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 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 SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_FUNCTION_POINTER_H_ 5 #ifndef SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_FUNCTION_POINTER_H_
6 #define SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_FUNCTION_POINTER_H_ 6 #define SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER_FUNCTION_POINTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "sandbox/linux/tests/sandbox_test_runner.h" 9 #include "sandbox/linux/tests/sandbox_test_runner.h"
10 10
11 namespace sandbox { 11 namespace sandbox {
12 12
13 class SandboxTestRunnerFunctionPointer : public SandboxTestRunner { 13 class SandboxTestRunnerFunctionPointer : public SandboxTestRunner {
14 public: 14 public:
15 SandboxTestRunnerFunctionPointer(void (*function_to_run)(void)); 15 SandboxTestRunnerFunctionPointer(void (*function_to_run)(void));
16 virtual ~SandboxTestRunnerFunctionPointer() OVERRIDE; 16 virtual ~SandboxTestRunnerFunctionPointer() override;
17 virtual void Run() OVERRIDE; 17 virtual void Run() override;
18 18
19 private: 19 private:
20 void (*function_to_run_)(void); 20 void (*function_to_run_)(void);
21 DISALLOW_COPY_AND_ASSIGN(SandboxTestRunnerFunctionPointer); 21 DISALLOW_COPY_AND_ASSIGN(SandboxTestRunnerFunctionPointer);
22 }; 22 };
23 23
24 } // namespace sandbox 24 } // namespace sandbox
25 25
26 #endif // SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER__FUNCTION_POINTER_H_ 26 #endif // SANDBOX_LINUX_TESTS_SANDBOX_TEST_RUNNER__FUNCTION_POINTER_H_
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf/syscall_unittest.cc ('k') | sandbox/mac/bootstrap_sandbox_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698