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

Unified Diff: chrome/test/base/ui_test_utils.h

Issue 653773004: Standardize usage of virtual/override/final in chrome/ (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 | « chrome/test/base/tracing.cc ('k') | chrome/test/base/view_event_test_platform_part_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/ui_test_utils.h
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h
index 3d96ab3c6be491c452eac76ca53c4cf8070915b6..81fa90400464f8bb4f7412a17367df9255e17bfe 100644
--- a/chrome/test/base/ui_test_utils.h
+++ b/chrome/test/base/ui_test_utils.h
@@ -177,9 +177,9 @@ class WindowedTabAddedNotificationObserver
// Returns the added tab, or NULL if no notification was observed yet.
content::WebContents* GetTab() { return added_tab_; }
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
private:
content::WebContents* added_tab_;
@@ -233,12 +233,12 @@ class UrlLoadObserver : public content::WindowedNotificationObserver {
// specific source, or from all sources if |source| is
// NotificationService::AllSources().
UrlLoadObserver(const GURL& url, const content::NotificationSource& source);
- virtual ~UrlLoadObserver();
+ ~UrlLoadObserver() override;
// content::NotificationObserver:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
private:
GURL url_;
« no previous file with comments | « chrome/test/base/tracing.cc ('k') | chrome/test/base/view_event_test_platform_part_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698