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

Unified Diff: chrome/browser/ui/android/tab_model/tab_model.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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 | « no previous file | chrome/browser/ui/app_list/app_context_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/tab_model/tab_model.h
diff --git a/chrome/browser/ui/android/tab_model/tab_model.h b/chrome/browser/ui/android/tab_model/tab_model.h
index f9fd8ef12fc07d51056ee5fb05a39b77fa7a4092..f6678d52346cdca70bffc598b1d81263bee52b68 100644
--- a/chrome/browser/ui/android/tab_model/tab_model.h
+++ b/chrome/browser/ui/android/tab_model/tab_model.h
@@ -56,7 +56,7 @@ class TabModel : public content::NotificationObserver {
protected:
explicit TabModel(Profile* profile);
- virtual ~TabModel();
+ ~TabModel() override;
msw 2014/10/21 19:36:11 Why does this seem to operate contrary to the Goog
dcheng 2014/10/21 20:14:53 From http://google-styleguide.googlecode.com/svn/t
// Instructs the TabModel to broadcast a notification that all tabs are now
// loaded from storage.
@@ -66,9 +66,9 @@ class TabModel : public content::NotificationObserver {
private:
// Determines how TabModel will interact with the profile.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
msw 2014/10/21 19:36:11 I guess this is implementing the following policy?
dcheng 2014/10/21 20:14:53 Yep.
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// The profile associated with this TabModel.
Profile* profile_;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698