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

Unified Diff: content/public/test/test_notification_tracker.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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/public/test/test_navigation_observer.cc ('k') | content/public/test/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_notification_tracker.h
diff --git a/content/public/test/test_notification_tracker.h b/content/public/test/test_notification_tracker.h
index 69d59fae17880747dd51f3085eddb966d61313c5..786ec147e05ebc6c095f3cf3ca979f44c3822d05 100644
--- a/content/public/test/test_notification_tracker.h
+++ b/content/public/test/test_notification_tracker.h
@@ -33,7 +33,7 @@ class TestNotificationTracker : public NotificationObserver {
// ListenFor for the notifications you are interested in.
TestNotificationTracker();
- virtual ~TestNotificationTracker();
+ ~TestNotificationTracker() override;
// Makes this object listen for the given notification with the given source.
void ListenFor(int type, const NotificationSource& source);
@@ -69,9 +69,10 @@ class TestNotificationTracker : public NotificationObserver {
const Event& at(size_t i) const { return events_[i]; }
protected:
- virtual void Observe(int type,
- const NotificationSource& source,
- const NotificationDetails& details) override;
+ void Observe(int type,
+ const NotificationSource& source,
+ const NotificationDetails& details) override;
+
private:
NotificationRegistrar registrar_;
« no previous file with comments | « content/public/test/test_navigation_observer.cc ('k') | content/public/test/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698