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

Unified Diff: chrome/browser/infobars/insecure_content_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: chrome/browser/infobars/insecure_content_infobar_delegate.cc
diff --git a/chrome/browser/infobars/insecure_content_infobar_delegate.cc b/chrome/browser/infobars/insecure_content_infobar_delegate.cc
index eed7ecec55b4302b01a663f98e0697afe2689b6c..8af7856013e6450aa944f94203b3bb33bb7bae57 100644
--- a/chrome/browser/infobars/insecure_content_infobar_delegate.cc
+++ b/chrome/browser/infobars/insecure_content_infobar_delegate.cc
@@ -51,6 +51,11 @@ InsecureContentInfoBarDelegate::InsecureContentInfoBarDelegate()
InsecureContentInfoBarDelegate::~InsecureContentInfoBarDelegate() {
}
+infobars::InfoBarDelegate::InfoBarIdentifier
+InsecureContentInfoBarDelegate::GetIdentifier() const {
+ return INSECURE_CONTENT_INFOBAR_DELEGATE;
+}
+
void InsecureContentInfoBarDelegate::InfoBarDismissed() {
UMA_HISTOGRAM_ENUMERATION("InsecureContentInfoBarDelegateV2",
DISPLAY_INFOBAR_DISMISSED, NUM_EVENTS);

Powered by Google App Engine
This is Rietveld 408576698