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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.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
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.h
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.h b/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
index 7b6e37014badb3737e3bd028e4c9a3985e6c7093..749e0a945f471c2cb74b84fd72ba5795962b53b6 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.h
@@ -36,7 +36,7 @@ class NTPResourceCache : public content::NotificationObserver,
};
explicit NTPResourceCache(Profile* profile);
- virtual ~NTPResourceCache();
+ ~NTPResourceCache() override;
base::RefCountedMemory* GetNewTabHTML(WindowType win_type);
base::RefCountedMemory* GetNewTabCSS(WindowType win_type);
@@ -55,9 +55,9 @@ class NTPResourceCache : public content::NotificationObserver,
should_show_recently_closed_menu_ = should_show_recently_closed_menu;
}
// content::NotificationObserver interface.
- 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;
static WindowType GetWindowType(
Profile* profile, content::RenderProcessHost* render_host);

Powered by Google App Engine
This is Rietveld 408576698