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

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: Rebasing 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 ef14ecd8ba503bfe7a45e6d05935d7c89c66bc8d..cdb6868a0b9ae2d3a15e07f607f134ca83ef810f 100644
--- a/chrome/browser/infobars/insecure_content_infobar_delegate.cc
+++ b/chrome/browser/infobars/insecure_content_infobar_delegate.cc
@@ -48,6 +48,10 @@ InsecureContentInfoBarDelegate::InsecureContentInfoBarDelegate()
InsecureContentInfoBarDelegate::~InsecureContentInfoBarDelegate() {
}
+std::string InsecureContentInfoBarDelegate::GetIdentifier() const {
+ return "InsecureContentInfoBarDelegate";
+}
+
void InsecureContentInfoBarDelegate::InfoBarDismissed() {
UMA_HISTOGRAM_ENUMERATION("InsecureContentInfoBarDelegateV2",
DISPLAY_INFOBAR_DISMISSED, NUM_EVENTS);

Powered by Google App Engine
This is Rietveld 408576698