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

Unified Diff: chrome/browser/extensions/extension_infobar_delegate.h

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (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/extensions/extension_infobar_delegate.h
diff --git a/chrome/browser/extensions/extension_infobar_delegate.h b/chrome/browser/extensions/extension_infobar_delegate.h
index ce4ed66f19d2dbdfe067f7a4ebb1b62729cc0f17..fbc69d87aba9b73e6c046d41babbc04363223df2 100644
--- a/chrome/browser/extensions/extension_infobar_delegate.h
+++ b/chrome/browser/extensions/extension_infobar_delegate.h
@@ -31,7 +31,7 @@ class ExtensionInfoBarDelegate : public infobars::InfoBarDelegate,
public content::NotificationObserver,
public extensions::ExtensionRegistryObserver {
public:
- virtual ~ExtensionInfoBarDelegate();
+ ~ExtensionInfoBarDelegate() override;
// Creates an extension infobar and delegate and adds the infobar to the
// infobar service for |web_contents|.
@@ -68,19 +68,18 @@ class ExtensionInfoBarDelegate : public infobars::InfoBarDelegate,
scoped_ptr<ExtensionInfoBarDelegate> delegate);
// InfoBarDelegate.
- virtual bool EqualsDelegate(
- infobars::InfoBarDelegate* delegate) const override;
- virtual void InfoBarDismissed() override;
- virtual Type GetInfoBarType() const override;
- virtual ExtensionInfoBarDelegate* AsExtensionInfoBarDelegate() override;
+ bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override;
+ void InfoBarDismissed() override;
+ Type GetInfoBarType() const override;
+ ExtensionInfoBarDelegate* AsExtensionInfoBarDelegate() 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;
// extensions::ExtensionRegistryObserver.
- virtual void OnExtensionUnloaded(
+ void OnExtensionUnloaded(
content::BrowserContext* browser_context,
const extensions::Extension* extension,
extensions::UnloadedExtensionInfo::Reason reason) override;

Powered by Google App Engine
This is Rietveld 408576698