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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 400323002: Refactor the captive portal code to move from the ssl_blocking_page class to the ssl_error_classific (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Comments Created 6 years, 4 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:
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_error_classification_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index d51e0645a245845bb7e73e3b994bdfcbdbbf0277..37f53381bfb4714c2e52c0e453ce7058a704a768 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -10233,6 +10233,17 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="interstitial.ssl.captive_portal" enum="SSLCaptivePortal">
+ <owner>meacer@chromium.org</owner>
+ <summary>
+ Record possible states of captive portals. This histogram is emitted
+ (possibly multiple times to different buckets) whenever a ssl interstitial
+ page is displayed and captive portal detection is enabled. The captive
+ portal technique forces a client on a network to see a special web page
+ (usually for authentication purposes) before using the internet normally.
+ </summary>
+</histogram>
+
<histogram name="interstitial.ssl.cause.nonoverridable"
enum="SSLNonAttackCauses">
<owner>felt@chromium.org</owner>
@@ -48906,6 +48917,37 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="5" label="DEPRECATION_RAZE_FAILED">Raze failed.</int>
</enum>
+<enum name="SSLCaptivePortal" type="int">
+ <int value="0"
+ label="Chrome captive portal detection enabled
+ (CAPTIVE_PORTAL_DETECTION_ENABLED)"/>
+ <int value="1"
+ label="Chrome captive portal detection enabled on an overridable SSL
+ error page (CAPTIVE_PORTAL_DETECTION_ENABLED_OVERRIDABLE)"/>
Mark P 2014/08/14 22:18:35 nit: add as content: This is a subset of CAPTIVE_P
+ <int value="2"
+ label="Received a captive portal probe result.
+ (CAPTIVE_PORTAL_PROBE_COMPLETED)">
+ Was the captive portal probe completed before the interstitial was closed?
+ Captive Portal won't be detected unless ::Observe is triggered which might
+ be a few seconds later.
+ </int>
+ <int value="3"
+ label="Received a captive portal result on an overridable SSL error
+ page (CAPTIVE_PORTAL_PROBE_COMPLETED_OVERRIDABLE)"/>
+ This is the same as CAPTIVE_PORTAL_PROBE_COMPLETED (bucket 2), the only
Mark P 2014/08/14 22:18:35 nit: the same as -> a subset of
+ difference is that it is for overridable errors.
+ <int value="4"
+ label="Received no response or Non-HTTP login page
+ (CAPTIVE_PORTAL_NO_RESPONSE)"/>
+ <int value="5"
+ label="Received no response or Non-HTTP login page on an overridable
+ SSL error page (CAPTIVE_PORTAL_NO_RESPONSE_OVERRIDABLE)"/>
+ <int value="6" label="Detected captive portal (CAPTIVE_PORTAL_DETECTED)"/>
+ <int value="7"
+ label="Detected captive portal on an overridable SSL error page
+ (CAPTIVE_PORTAL_DETECTED_OVERRIDABLE)"/>
Mark P 2014/08/14 22:18:35 nit: add the analogous subset of description here.
+</enum>
+
<enum name="SSLCipherSuite" type="int">
<summary>SSL/TLS cipher suites from the IANA registry</summary>
<int value="0" label="TLS_NULL_WITH_NULL_NULL"/>
@@ -49302,26 +49344,28 @@ Therefore, the affected-histogram name has to have at least one dot in it.
label="User manually typed proceed (PROCEED_MANUAL_NONOVERRIDABLE)"/>
<int value="17"
label="Chrome captive portal detection enabled
- (CAPTIVE_PORTAL_DETECTION_ENABLED)"/>
+ (DEPRECATED_CAPTIVE_PORTAL_DETECTION_ENABLED)"/>
<int value="18"
label="Chrome captive portal detection enabled on an overridable SSL
- error page (CAPTIVE_PORTAL_DETECTION_ENABLED_OVERRIDABLE)"/>
+ error page
+ (DEPRECATED_CAPTIVE_PORTAL_DETECTION_ENABLED_OVERRIDABLE)"/>
<int value="19"
label="Received a captive portal result
- (CAPTIVE_PORTAL_PROBE_COMPLETED)"/>
+ (DEPRECATED_CAPTIVE_PORTAL_PROBE_COMPLETED)"/>
<int value="20"
label="Received a captive portal result on an overridable SSL error
- page (CAPTIVE_PORTAL_PROBE_COMPLETED_OVERRIDABLE)"/>
+ page (DEPRECATED_CAPTIVE_PORTAL_PROBE_COMPLETED_OVERRIDABLE)"/>
<int value="21"
label="Received no response or Non-HTTP login page
- (CAPTIVE_PORTAL_NO_RESPONSE)"/>
+ (DEPRECATED_CAPTIVE_PORTAL_NO_RESPONSE)"/>
<int value="22"
label="Received no response or Non-HTTP login page on an overridable
- SSL error page (CAPTIVE_PORTAL_NO_RESPONSE_OVERRIDABLE)"/>
+ SSL error page
+ (DEPRECATED_CAPTIVE_PORTAL_NO_RESPONSE_OVERRIDABLE)"/>
<int value="23" label="Detected captive portal (CAPTIVE_PORTAL_DETECTED)"/>
<int value="24"
label="Detected captive portal on an overridable SSL error page
- (CAPTIVE_PORTAL_DETECTED_OVERRIDABLE)"/>
+ (DEPRECATED_CAPTIVE_PORTAL_DETECTED_OVERRIDABLE)"/>
Mark P 2014/08/14 22:18:35 Does the histogram that uses this enum need to be
radhikabhar 2014/08/14 22:29:20 No because it includes other buckets which are sti
</enum>
<enum name="StartupURLsMigration" type="int">
« no previous file with comments | « chrome/browser/ssl/ssl_error_classification_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698