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

Issue 2243453002: Replace SSLProtocolNegotiation histogram with SSLNegotiatedAlpnProtocol. (Closed)

Created:
4 years, 4 months ago by Bence
Modified:
4 years, 3 months ago
Reviewers:
jwd, davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace SSLProtocolNegotiation histogram with SSLNegotiatedAlpnProtocol. * Replace sparse histogram recording ALPN/NPN usage and whether there was overlap or fallback in case of NPN with a new histogram with much fewer values. This was made possible by NPN being disabled. * New histogram is recorded with all TLS handshakes, telling us what percentage of total TLS connections use HTTP/2. (The old histogram was only recorded when either NPN or ALPN was used, depriving us of this piece of information.) * Remove fixed values from enum NextProto; remove commented out historical values. Note that git cl format puts the new enum on a single line. BUG=526713 Committed: https://crrev.com/bd442c23edf32d09535f3f4d2fd67bb9f01b69ac Cr-Commit-Position: refs/heads/master@{#418664}

Patch Set 1 #

Patch Set 2 : Oops. #

Patch Set 3 : Rebase. #

Total comments: 13

Patch Set 4 : Re: #11. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Patch Set 7 : Re: #18. #

Total comments: 6

Patch Set 8 : Re: #24. #

Total comments: 4

Patch Set 9 : Rebase. #

Patch Set 10 : Nit. #

Patch Set 11 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -39 lines) Patch
M net/socket/next_proto.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -15 lines 0 comments Download
M net/socket/ssl_client_socket_impl.h View 1 chunk +3 lines, -3 lines 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -21 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 3 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (27 generated)
Bence
David: PTAL. Thank you.
4 years, 4 months ago (2016-08-11 22:12:36 UTC) #8
davidben
https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (right): https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc#newcode2355 net/socket/ssl_client_socket_impl.cc:2355: switch (negotiated_protocol_) { Why not just log the kProtoFoo ...
4 years, 4 months ago (2016-08-17 19:44:12 UTC) #11
davidben
https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (right): https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc#newcode2357 net/socket/ssl_client_socket_impl.cc:2357: protocol = ALPN_NOT_USED; By the way, this assumes we ...
4 years, 4 months ago (2016-08-17 19:44:56 UTC) #12
Bence
David: PTAL. Thank you. https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (right): https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc#newcode2355 net/socket/ssl_client_socket_impl.cc:2355: switch (negotiated_protocol_) { On 2016/08/17 ...
4 years, 4 months ago (2016-08-18 13:37:34 UTC) #17
davidben
https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (right): https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc#newcode2355 net/socket/ssl_client_socket_impl.cc:2355: switch (negotiated_protocol_) { On 2016/08/18 13:37:34, Bence wrote: > ...
4 years, 3 months ago (2016-08-25 18:10:41 UTC) #18
Bence
David: PTAL. Thank you. https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc File net/socket/ssl_client_socket_impl.cc (right): https://codereview.chromium.org/2243453002/diff/40001/net/socket/ssl_client_socket_impl.cc#newcode2355 net/socket/ssl_client_socket_impl.cc:2355: switch (negotiated_protocol_) { On 2016/08/25 ...
4 years, 3 months ago (2016-08-27 00:59:46 UTC) #23
davidben
lgtm with comments https://codereview.chromium.org/2243453002/diff/120001/net/http/http_response_info.cc File net/http/http_response_info.cc (right): https://codereview.chromium.org/2243453002/diff/120001/net/http/http_response_info.cc#newcode410 net/http/http_response_info.cc:410: case kProtoNumberOfNextProtos: If you keep the ...
4 years, 3 months ago (2016-08-27 02:27:58 UTC) #24
Bence
jwd: PTAL at tools/metrics/histograms/. Thank you. davidben: Thank you. https://codereview.chromium.org/2243453002/diff/120001/net/http/http_response_info.cc File net/http/http_response_info.cc (right): https://codereview.chromium.org/2243453002/diff/120001/net/http/http_response_info.cc#newcode410 net/http/http_response_info.cc:410: ...
4 years, 3 months ago (2016-08-29 12:54:34 UTC) #26
jwd
LGTM with nit. https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h#newcode21 net/socket/next_proto.h:21: kProtoLast = kProtoQUIC1SPDY3 I'd prefer it ...
4 years, 3 months ago (2016-08-29 19:44:20 UTC) #27
davidben
https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h#newcode21 net/socket/next_proto.h:21: kProtoLast = kProtoQUIC1SPDY3 On 2016/08/29 19:44:20, jwd wrote: > ...
4 years, 3 months ago (2016-08-29 19:47:34 UTC) #28
Bence
jwd: PTAL. Thank you. https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h#newcode21 net/socket/next_proto.h:21: kProtoLast = kProtoQUIC1SPDY3 On 2016/08/29 ...
4 years, 3 months ago (2016-08-30 00:51:06 UTC) #29
Bence
jwd: Since your l-g-t-m is contingent on a nit, and David and I have comments ...
4 years, 3 months ago (2016-09-01 14:29:52 UTC) #30
Bence
Ping jwd.
4 years, 3 months ago (2016-09-13 13:38:04 UTC) #32
jwd
lgtm https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h File net/socket/next_proto.h (right): https://codereview.chromium.org/2243453002/diff/140001/net/socket/next_proto.h#newcode21 net/socket/next_proto.h:21: kProtoLast = kProtoQUIC1SPDY3 On 2016/08/30 00:51:06, Bence wrote: ...
4 years, 3 months ago (2016-09-14 18:24:00 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2243453002/200001
4 years, 3 months ago (2016-09-14 18:25:12 UTC) #40
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 3 months ago (2016-09-14 20:49:36 UTC) #42
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 20:51:36 UTC) #44
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/bd442c23edf32d09535f3f4d2fd67bb9f01b69ac
Cr-Commit-Position: refs/heads/master@{#418664}

Powered by Google App Engine
This is Rietveld 408576698