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

Unified Diff: chrome/browser/thumbnails/thumbnail_tab_helper.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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/thumbnails/thumbnail_tab_helper.h
diff --git a/chrome/browser/thumbnails/thumbnail_tab_helper.h b/chrome/browser/thumbnails/thumbnail_tab_helper.h
index 232643ddf890c8659d147f78eee0a4bc8bf83fe0..74e76981ffbf512a954c0de738226fc2909fc2d5 100644
--- a/chrome/browser/thumbnails/thumbnail_tab_helper.h
+++ b/chrome/browser/thumbnails/thumbnail_tab_helper.h
@@ -22,7 +22,7 @@ class ThumbnailTabHelper
public content::WebContentsObserver,
public content::WebContentsUserData<ThumbnailTabHelper> {
public:
- virtual ~ThumbnailTabHelper();
+ ~ThumbnailTabHelper() override;
// Enables or disables the function of taking thumbnails.
// A disabled ThumbnailTabHelper generates no thumbnails although it still
@@ -34,16 +34,14 @@ class ThumbnailTabHelper
friend class content::WebContentsUserData<ThumbnailTabHelper>;
// content::NotificationObserver overrides.
- 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;
// content::WebContentsObserver overrides.
- virtual void RenderViewDeleted(
- content::RenderViewHost* render_view_host) override;
- virtual void DidStartLoading(
- content::RenderViewHost* render_view_host) override;
- virtual void NavigationStopped() override;
+ void RenderViewDeleted(content::RenderViewHost* render_view_host) override;
+ void DidStartLoading(content::RenderViewHost* render_view_host) override;
+ void NavigationStopped() override;
// Update the thumbnail of the given tab contents if necessary.
void UpdateThumbnailIfNecessary(content::WebContents* web_contents);
« no previous file with comments | « chrome/browser/thumbnails/thumbnail_service_unittest.cc ('k') | chrome/browser/translate/chrome_translate_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698