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

Unified Diff: chrome/browser/tab_contents/blocked_infobar_delegate.cc

Issue 7189040: Add histogram for cancel button in blocked mixed content infobars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « chrome/browser/tab_contents/blocked_infobar_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/blocked_infobar_delegate.cc
===================================================================
--- chrome/browser/tab_contents/blocked_infobar_delegate.cc (revision 89528)
+++ chrome/browser/tab_contents/blocked_infobar_delegate.cc (working copy)
@@ -103,6 +103,14 @@
return true;
}
+bool BlockedDisplayingInfoBarDelegate::Cancel() {
+ UMA_HISTOGRAM_ENUMERATION("MixedContent.DisplayingInfoBar",
+ BLOCKED_INFOBAR_EVENT_CANCELLED,
+ BLOCKED_INFOBAR_EVENT_LAST);
+ return true;
+}
+
+
BlockedRunningInfoBarDelegate::BlockedRunningInfoBarDelegate(
TabContentsWrapper* wrapper)
: BlockedInfoBarDelegate(
@@ -136,3 +144,10 @@
return true;
}
+bool BlockedRunningInfoBarDelegate::Cancel() {
+ UMA_HISTOGRAM_ENUMERATION("MixedContent.RunningInfoBar",
+ BLOCKED_INFOBAR_EVENT_CANCELLED,
+ BLOCKED_INFOBAR_EVENT_LAST);
+ return true;
+}
+
« no previous file with comments | « chrome/browser/tab_contents/blocked_infobar_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698