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

Unified Diff: chrome/browser/ui/cocoa/keystone_infobar_delegate.mm

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/cocoa/keystone_infobar_delegate.mm
diff --git a/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm b/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm
index 9646483cc7c349ede522212d8bd14747f1851e6e..afe31435e8d0aa847b7d5b435f69920e4fb3eab1 100644
--- a/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm
+++ b/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm
@@ -44,20 +44,19 @@ class KeystonePromotionInfoBarDelegate : public ConfirmInfoBarDelegate {
private:
explicit KeystonePromotionInfoBarDelegate(PrefService* prefs);
- virtual ~KeystonePromotionInfoBarDelegate();
+ ~KeystonePromotionInfoBarDelegate() override;
// Sets this info bar to be able to expire. Called a predetermined amount
// of time after this object is created.
void SetCanExpire() { can_expire_ = true; }
// ConfirmInfoBarDelegate
- virtual int GetIconID() const override;
- virtual base::string16 GetMessageText() const override;
- virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
- virtual bool Accept() override;
- virtual bool Cancel() override;
- virtual bool ShouldExpireInternal(
- const NavigationDetails& details) const override;
+ int GetIconID() const override;
+ base::string16 GetMessageText() const override;
+ base::string16 GetButtonLabel(InfoBarButton button) const override;
+ bool Accept() override;
+ bool Cancel() override;
+ bool ShouldExpireInternal(const NavigationDetails& details) const override;
// The prefs to use.
PrefService* prefs_; // weak

Powered by Google App Engine
This is Rietveld 408576698