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

Unified Diff: components/autofill/core/browser/autofill_cc_infobar_delegate.cc

Issue 922953002: Minor infobar cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 5 years, 10 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: 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..50cab56fd28d2ba0468d2501cb095d5d5dd3300d 100644
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc
@@ -51,17 +51,17 @@ void AutofillCCInfoBarDelegate::LogUserAction(
had_user_interaction_ = true;
}
-void AutofillCCInfoBarDelegate::InfoBarDismissed() {
- LogUserAction(AutofillMetrics::INFOBAR_DENIED);
+infobars::InfoBarDelegate::Type
+AutofillCCInfoBarDelegate::GetInfoBarType() const {
+ return PAGE_ACTION_TYPE;
}
int AutofillCCInfoBarDelegate::GetIconID() const {
return IDR_INFOBAR_AUTOFILL_CC;
}
-infobars::InfoBarDelegate::Type AutofillCCInfoBarDelegate::GetInfoBarType()
- const {
- return PAGE_ACTION_TYPE;
+void AutofillCCInfoBarDelegate::InfoBarDismissed() {
+ LogUserAction(AutofillMetrics::INFOBAR_DENIED);
}
bool AutofillCCInfoBarDelegate::ShouldExpireInternal(
« no previous file with comments | « components/autofill/core/browser/autofill_cc_infobar_delegate.h ('k') | components/infobars/core/infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698