|
Clean up NPN/ALPN-related SSLClientSocket bits.
A follow-up will unvirtual and disentangle the other virtual functions there.
Have SSLClientSocket implement ALPN-related methods internally using
GetNextProto rather than rely on SSLConnectJob to do it.
The SPDY-related bit is removed and moved up to callers. Also clean up the
MockSSLClientSocket overrides of these functions now that the setters are never
called outside of the SSLClientSocket implementation. Instead,
SSLSocketDataProvider supplies the input to MockSSLClientSocket::GetNextProto
and then the usual logic computes everything else from there.
BUG= 477847
Committed: https://crrev.com/6974bf71b37bddb36ca8b1feefc013b7c47c105f
Cr-Commit-Position: refs/heads/master@{#327066}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+71 lines, -163 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/socket/tls_socket_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction_unittest.cc
|
View
|
|
5 chunks |
+1 line, -12 lines |
0 comments
|
Download
|
 |
M |
net/http/http_proxy_client_socket_pool.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_job.cc
|
View
|
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/socket/next_proto.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/next_proto.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.h
|
View
|
|
4 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
net/socket/socket_test_util.cc
|
View
|
|
5 chunks |
+4 lines, -35 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket.h
|
View
|
|
5 chunks |
+5 lines, -17 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket.cc
|
View
|
|
5 chunks |
+33 lines, -47 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_nss.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_openssl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_openssl.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_pool.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -26 lines |
0 comments
|
Download
|
Total messages: 16 (7 generated)
|