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

Issue 1371263002: Refactor SSLClientSocket::SerializeNextProtos(). (Closed)

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

Description

Refactor SSLClientSocket::SerializeNextProtos(). Break out HTTP/2 protocol removal from SSLClientSocket::SerializeNextProtos() to SSLClientSocket::DisableHTTP2() method. DisableHTTP2() will be used for NPN to create a NextProtoVector that can be used by the callback function (no serialization is necessary for this.) BUG=527066 Committed: https://crrev.com/f76254d62e10ebd2fc9185609fde431e3232bc1f Cr-Commit-Position: refs/heads/master@{#351210}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Move DisableHTTP2 to next_protos. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -19 lines) Patch
M net/socket/next_proto.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M net/socket/next_proto.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket.h View 1 1 chunk +3 lines, -5 lines 0 comments Download
M net/socket/ssl_client_socket.cc View 1 1 chunk +1 line, -5 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket_openssl.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M net/socket/ssl_client_socket_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
Bence
David: PTAL. Thanks.
5 years, 2 months ago (2015-09-28 20:14:09 UTC) #2
davidben
lgtm https://codereview.chromium.org/1371263002/diff/1/net/socket/ssl_client_socket.h File net/socket/ssl_client_socket.h (right): https://codereview.chromium.org/1371263002/diff/1/net/socket/ssl_client_socket.h#newcode182 net/socket/ssl_client_socket.h:182: static void DisableHTTP2(NextProtoVector* next_protos); Do you think this ...
5 years, 2 months ago (2015-09-28 22:16:23 UTC) #3
Bence
Thanks. https://codereview.chromium.org/1371263002/diff/1/net/socket/ssl_client_socket.h File net/socket/ssl_client_socket.h (right): https://codereview.chromium.org/1371263002/diff/1/net/socket/ssl_client_socket.h#newcode182 net/socket/ssl_client_socket.h:182: static void DisableHTTP2(NextProtoVector* next_protos); On 2015/09/28 22:16:22, David ...
5 years, 2 months ago (2015-09-28 23:55:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1371263002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1371263002/20001
5 years, 2 months ago (2015-09-28 23:56:49 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-09-29 00:03:55 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-09-29 00:04:42 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f76254d62e10ebd2fc9185609fde431e3232bc1f
Cr-Commit-Position: refs/heads/master@{#351210}

Powered by Google App Engine
This is Rietveld 408576698