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

Unified Diff: chrome/browser/ssl/ssl_error_classification.cc

Issue 914253004: Fix captive portal histogram in SSL interstitials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_error_classification.cc
diff --git a/chrome/browser/ssl/ssl_error_classification.cc b/chrome/browser/ssl/ssl_error_classification.cc
index 03a715244ac829948d4bd440dc3c2ea02a103672..eea89250afa724677523c9a09e001a80b2e5b6ae 100644
--- a/chrome/browser/ssl/ssl_error_classification.cc
+++ b/chrome/browser/ssl/ssl_error_classification.cc
@@ -60,6 +60,7 @@ enum SSLInterstitialCause {
// Events for UMA. Do not reorder or change!
enum SSLInterstitialCauseCaptivePortal {
+ CAPTIVE_PORTAL_ALL,
felt 2015/02/12 01:35:37 All older data will get bucketed incorrectly as a
CAPTIVE_PORTAL_DETECTION_ENABLED,
CAPTIVE_PORTAL_DETECTION_ENABLED_OVERRIDABLE,
CAPTIVE_PORTAL_PROBE_COMPLETED,
@@ -148,6 +149,7 @@ SSLErrorClassification::~SSLErrorClassification() { }
void SSLErrorClassification::RecordCaptivePortalUMAStatistics(
bool overridable) const {
#if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
+ RecordCaptivePortalEventStats(CAPTIVE_PORTAL_ALL);
if (captive_portal_detection_enabled_)
RecordCaptivePortalEventStats(
overridable ?
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698