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

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

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit again Created 5 years 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 69f2955d80e818f83b3ff6555e5b146b4391b2de..97703b27c946f9ae13c1dc7779d9b723b876f47e 100644
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.cc
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.cc
@@ -60,6 +60,11 @@ void AutofillCCInfoBarDelegate::LogUserAction(
had_user_interaction_ = true;
}
+infobars::InfoBarDelegate::InfoBarIdentifier
+AutofillCCInfoBarDelegate::GetIdentifier() const {
+ return AUTOFILL_CC_INFOBAR_DELEGATE;
+}
+
infobars::InfoBarDelegate::Type
AutofillCCInfoBarDelegate::GetInfoBarType() const {
return PAGE_ACTION_TYPE;
« no previous file with comments | « components/autofill/core/browser/autofill_cc_infobar_delegate.h ('k') | components/infobars/core/infobar_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698