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

Unified Diff: content/browser/startup_task_runner_unittest.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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 | « content/browser/ssl/ssl_cert_error_handler.h ('k') | content/browser/storage_partition_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/startup_task_runner_unittest.cc
diff --git a/content/browser/startup_task_runner_unittest.cc b/content/browser/startup_task_runner_unittest.cc
index 04b93ea8b109060787ee00ab7c8505a2610333dc..d8b6224387ee882d645bf4c86e5c4bfada6bd931 100644
--- a/content/browser/startup_task_runner_unittest.cc
+++ b/content/browser/startup_task_runner_unittest.cc
@@ -96,22 +96,21 @@ class MockTaskRunner {
class TaskRunnerProxy : public base::SingleThreadTaskRunner {
public:
TaskRunnerProxy(MockTaskRunner* mock) : mock_(mock) {}
- virtual bool RunsTasksOnCurrentThread() const override { return true; }
- virtual bool PostDelayedTask(const tracked_objects::Location& location,
- const Closure& closure,
- base::TimeDelta delta) override {
+ bool RunsTasksOnCurrentThread() const override { return true; }
+ bool PostDelayedTask(const tracked_objects::Location& location,
+ const Closure& closure,
+ base::TimeDelta delta) override {
return mock_->PostDelayedTask(location, closure, delta);
}
- virtual bool PostNonNestableDelayedTask(
- const tracked_objects::Location& location,
- const Closure& closure,
- base::TimeDelta delta) override {
+ bool PostNonNestableDelayedTask(const tracked_objects::Location& location,
+ const Closure& closure,
+ base::TimeDelta delta) override {
return mock_->PostNonNestableDelayedTask(location, closure, delta);
}
private:
MockTaskRunner* mock_;
- virtual ~TaskRunnerProxy() {}
+ ~TaskRunnerProxy() override {}
};
TEST_F(StartupTaskRunnerTest, SynchronousExecution) {
« no previous file with comments | « content/browser/ssl/ssl_cert_error_handler.h ('k') | content/browser/storage_partition_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698