|
Remove HttpStreamFactory's NPN/SPDY globals, except for spdy_enabled.
Instead, each HttpNetworkSession is given its own immutable copies on
construction. Other than spdy_enabled, none of the globals were
changed before this CL, anyways.
Also, setting spdy_enabled back to true after setting it to false no
longer clears the NPN list.
spdy_enabled is still a global because group policy can set it to
false at runtime.
BUG= 372533
R=joaodasilva@chromium.org, rch@chromium.org, sergeyu@chromium.org, sgurun@chromium.org, sky@chromium.org, ttuttle@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272698
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1261 lines, -1302 lines) |
Patch |
 |
M |
android_webview/browser/net/aw_url_request_context_getter.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.h
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+24 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/preconnect.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/policy/url_blacklist_manager_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/url_request_context_peer.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/domain_reliability/uploader_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
jingle/glue/proxy_resolving_client_socket.cc
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_session.h
|
View
|
1
2
3
|
1 chunk |
+253 lines, -222 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_session.cc
|
View
|
1
2
3
|
1 chunk |
+308 lines, -254 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction_unittest.cc
|
View
|
|
27 chunks |
+41 lines, -44 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory.h
|
View
|
1
2
|
1 chunk |
+250 lines, -315 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+99 lines, -247 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_job.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_job.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_unittest.cc
|
View
|
|
2 chunks |
+1 line, -15 lines |
0 comments
|
Download
|
 |
M |
net/net.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_network_transaction_unittest.cc
|
View
|
1
2
3
4
5
6
|
25 chunks |
+26 lines, -40 lines |
0 comments
|
Download
|
 |
M |
net/socket/next_proto.h
|
View
|
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/socket/next_proto.cc
|
View
|
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_network_transaction_unittest.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+43 lines, -37 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_test_util_common.h
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_test_util_common.cc
|
View
|
|
5 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/test/net_test_suite.cc
|
View
|
1
2
|
1 chunk |
+67 lines, -67 lines |
0 comments
|
Download
|
 |
M |
net/websockets/websocket_stream.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|