Index: components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
diff --git a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
index 50cab56fd28d2ba0468d2501cb095d5d5dd3300d..7dc13a7231d895664ecb601f9e4a5fc9644fa18e 100644 |
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
@@ -60,11 +60,7 @@ int AutofillCCInfoBarDelegate::GetIconID() const { |
return IDR_INFOBAR_AUTOFILL_CC; |
} |
-void AutofillCCInfoBarDelegate::InfoBarDismissed() { |
- LogUserAction(AutofillMetrics::INFOBAR_DENIED); |
-} |
- |
-bool AutofillCCInfoBarDelegate::ShouldExpireInternal( |
+bool AutofillCCInfoBarDelegate::ShouldExpire( |
const NavigationDetails& details) const { |
// The user has submitted a form, causing the page to navigate elsewhere. We |
// don't want the infobar to be expired at this point, because the user won't |
@@ -72,6 +68,10 @@ bool AutofillCCInfoBarDelegate::ShouldExpireInternal( |
return false; |
} |
+void AutofillCCInfoBarDelegate::InfoBarDismissed() { |
+ LogUserAction(AutofillMetrics::INFOBAR_DENIED); |
+} |
+ |
base::string16 AutofillCCInfoBarDelegate::GetMessageText() const { |
return l10n_util::GetStringUTF16(IDS_AUTOFILL_CC_INFOBAR_TEXT); |
} |