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

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

Issue 590513002: Add histogram to track NPN/ALPN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Shorten enum descriptions. Created 6 years, 2 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 | « net/socket/ssl_client_socket_pool.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 93209b724dee46694d5a3e675ac879e13d7a9ecf..6a33d98ae2fcedaf88ad6df12df150c6355baecd 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -18183,6 +18183,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<summary>Time to complete a speculative certificate verification.</summary>
</histogram>
+<histogram name="Net.SSLProtocolNegotiation" enum="SSLProtocolNegotiation">
+ <owner>bnc@chromium.org</owner>
+ <summary>
+ TLS extension used to negotiate protocol (ALPN or NPN); in case of NPN,
+ whether the protocol is indeed supported by both the client and the server
+ or is a fallback because of no overlap; and the negotiated protocol itself.
+ </summary>
+</histogram>
+
<histogram name="Net.SSLv3FallbackToRenegoPatchedServer"
enum="TLSRenegotiationPatched">
<obsolete>
@@ -52329,6 +52338,27 @@ To add a new entry, add it with any value and run test to compute valid value.
</int>
</enum>
+<enum name="SSLProtocolNegotiation" type="int">
+ <int value="1" label="ALPN, HTTP/1.1"/>
+ <int value="100" label="ALPN, SPDY 2.0"/>
+ <int value="101" label="ALPN, SPDY 3.0"/>
+ <int value="102" label="ALPN, SPDY 3.1"/>
+ <int value="103" label="ALPN, HTTP/2 draft-14"/>
+ <int value="200" label="ALPN, QUIC/1 + SPDY/3"/>
+ <int value="501" label="NPN, HTTP/1.1"/>
+ <int value="600" label="NPN, SPDY 2.0"/>
+ <int value="601" label="NPN, SPDY 3.0"/>
+ <int value="602" label="NPN, SPDY 3.1"/>
+ <int value="603" label="NPN, HTTP/2 draft-14"/>
+ <int value="700" label="NPN, QUIC/1 + SPDY/3"/>
+ <int value="1001" label="NPN, fallback to HTTP/1.1"/>
+ <int value="1100" label="NPN, fallback to SPDY 2.0"/>
+ <int value="1101" label="NPN, fallback to SPDY 3.0"/>
+ <int value="1102" label="NPN, fallback to SPDY 3.1"/>
+ <int value="1103" label="NPN, fallback to HTTP/2 draft-14"/>
+ <int value="1200" label="NPN, fallback to QUIC/1 + SPDY/3"/>
+</enum>
+
<enum name="SSLResponseTypesV2" type="int">
<int value="0" label="SHOW_ALL"/>
<int value="1" label="SHOW_OVERRIDABLE"/>
« no previous file with comments | « net/socket/ssl_client_socket_pool.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698