Index: components/autofill/core/browser/autofill_cc_infobar_delegate.h |
diff --git a/components/autofill/core/browser/autofill_cc_infobar_delegate.h b/components/autofill/core/browser/autofill_cc_infobar_delegate.h |
index 8e50a052ffe3170744bc93b2323f58013b58a1a7..7323dac3ec2d53fe765855fe1e93d9246c8cbae0 100644 |
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.h |
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.h |
@@ -39,25 +39,29 @@ class AutofillCCInfoBarDelegate : public ConfirmInfoBarDelegate { |
} |
#endif |
- private: |
+ ~AutofillCCInfoBarDelegate() override; |
+ |
+ // ConfirmInfoBarDelegate: |
+ int GetIconId() const override; |
+ base::string16 GetMessageText() const override; |
+ base::string16 GetLinkText() const override; |
+ |
+ protected: |
AutofillCCInfoBarDelegate(bool upload, |
const base::Closure& save_card_callback); |
- ~AutofillCCInfoBarDelegate() override; |
+ private: |
void LogUserAction(AutofillMetrics::InfoBarMetric user_action); |
// ConfirmInfoBarDelegate: |
Type GetInfoBarType() const override; |
infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |
- int GetIconId() const override; |
gfx::VectorIconId GetVectorIconId() const override; |
bool ShouldExpire(const NavigationDetails& details) const override; |
void InfoBarDismissed() override; |
- base::string16 GetMessageText() const override; |
base::string16 GetButtonLabel(InfoBarButton button) const override; |
bool Accept() override; |
bool Cancel() override; |
- base::string16 GetLinkText() const override; |
GURL GetLinkURL() const override; |
bool upload_; |