Index: components/infobars/core/confirm_infobar_delegate.h |
diff --git a/components/infobars/core/confirm_infobar_delegate.h b/components/infobars/core/confirm_infobar_delegate.h |
index f88206cf7197a70322264c34cb7054b563b21834..1e1930d19d1a74aa8e63981a41e0e92f4e05e156 100644 |
--- a/components/infobars/core/confirm_infobar_delegate.h |
+++ b/components/infobars/core/confirm_infobar_delegate.h |
@@ -23,10 +23,10 @@ class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate { |
BUTTON_CANCEL = 1 << 1, |
}; |
- virtual ~ConfirmInfoBarDelegate(); |
+ ~ConfirmInfoBarDelegate() override; |
// Returns the InfoBar type to be displayed for the InfoBar. |
- virtual InfoBarAutomationType GetInfoBarAutomationType() const override; |
+ InfoBarAutomationType GetInfoBarAutomationType() const override; |
// Returns the message string to be displayed for the InfoBar. |
virtual base::string16 GetMessageText() const = 0; |
@@ -70,14 +70,12 @@ class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate { |
static scoped_ptr<infobars::InfoBar> CreateInfoBar( |
scoped_ptr<ConfirmInfoBarDelegate> delegate); |
- virtual bool ShouldExpireInternal( |
- const NavigationDetails& details) const override; |
+ bool ShouldExpireInternal(const NavigationDetails& details) const override; |
private: |
// InfoBarDelegate: |
- virtual bool EqualsDelegate( |
- infobars::InfoBarDelegate* delegate) const override; |
- virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() override; |
+ bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override; |
+ ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() override; |
DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate); |
}; |