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 1f2bd3581ccfabb8d4f0330fe426599a0137eacb..dd1566458f0334ef50ff149e75f78b41cb004d11 100644 |
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc |
@@ -55,12 +55,8 @@ void AutofillCCInfoBarDelegate::InfoBarDismissed() { |
LogUserAction(AutofillMetrics::INFOBAR_DENIED); |
} |
-int AutofillCCInfoBarDelegate::GetIconID() const { |
- return IDR_INFOBAR_AUTOFILL_CC; |
-} |
- |
-infobars::InfoBarDelegate::Type AutofillCCInfoBarDelegate::GetInfoBarType() |
- const { |
+infobars::InfoBarDelegate::Type |
+AutofillCCInfoBarDelegate::GetInfoBarType() const { |
return PAGE_ACTION_TYPE; |
} |
@@ -72,6 +68,10 @@ bool AutofillCCInfoBarDelegate::ShouldExpireInternal( |
return false; |
} |
+int AutofillCCInfoBarDelegate::GetIconID() const { |
+ return IDR_INFOBAR_AUTOFILL_CC; |
+} |
+ |
base::string16 AutofillCCInfoBarDelegate::GetMessageText() const { |
return l10n_util::GetStringUTF16(IDS_AUTOFILL_CC_INFOBAR_TEXT); |
} |