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

Unified Diff: components/domain_reliability/util.cc

Issue 666133002: Standardize usage of virtual/override/final in components/ (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 | « components/domain_reliability/util.h ('k') | components/enhanced_bookmarks/bookmark_image_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/util.cc
diff --git a/components/domain_reliability/util.cc b/components/domain_reliability/util.cc
index c7b83b20fc45f7641395724b6849d1dd78c9b295..0fc03a55e4c3f6e82d0b076a7a011b15ed867acc 100644
--- a/components/domain_reliability/util.cc
+++ b/components/domain_reliability/util.cc
@@ -20,22 +20,18 @@ class ActualTimer : public MockableTime::Timer {
// Initialize base timer with retain_user_info and is_repeating false.
ActualTimer() : base_timer_(false, false) {}
- virtual ~ActualTimer() {}
+ ~ActualTimer() override {}
// MockableTime::Timer implementation:
- virtual void Start(const tracked_objects::Location& posted_from,
- base::TimeDelta delay,
- const base::Closure& user_task) override {
+ void Start(const tracked_objects::Location& posted_from,
+ base::TimeDelta delay,
+ const base::Closure& user_task) override {
base_timer_.Start(posted_from, delay, user_task);
}
- virtual void Stop() override {
- base_timer_.Stop();
- }
+ void Stop() override { base_timer_.Stop(); }
- virtual bool IsRunning() override {
- return base_timer_.IsRunning();
- }
+ bool IsRunning() override { return base_timer_.IsRunning(); }
private:
base::Timer base_timer_;
« no previous file with comments | « components/domain_reliability/util.h ('k') | components/enhanced_bookmarks/bookmark_image_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698