|
[SPDY] Use WeakPtr<SpdySession> everywhere but SpdySessionPool
Make SpdyHttpStream cache it's SPDY stream's LoadTimingInfo
on close. Also, make SpdyHttpStream query SpdySession::IsReused()
when it's constructed and cache the value, as that's closer to the
intent of its use.
Avoid uses of SpdySession::IsClosed() in non-test code and add
TODO to remove uses from test code. This is more correct since
testing the WeakPtr is a stronger condition than testing openness
and SpdySession functions already do the right thing if the
SpdySession is already closed.
Tweak some tests that implicitly depended on
having refs to SpdySession.
BUG= 255701
R=rch@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212858
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+406 lines, -428 lines) |
Patch |
 |
M |
net/http/http_network_transaction_unittest.cc
|
View
|
1
2
|
6 chunks |
+36 lines, -9 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.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl.cc
|
View
|
1
2
3
|
3 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_job.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_job.cc
|
View
|
1
2
3
|
6 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_request.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_request.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/http/http_stream_factory_impl_unittest.cc
|
View
|
|
5 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
 |
M |
net/socket/ssl_client_socket_pool_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream.h
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream.cc
|
View
|
1
2
|
6 chunks |
+19 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream_unittest.cc
|
View
|
1
2
3
|
13 chunks |
+13 lines, -23 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_network_transaction_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_proxy_client_socket_unittest.cc
|
View
|
1
2
|
9 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session.h
|
View
|
1
2
3
|
4 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session.cc
|
View
|
1
2
|
9 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session_pool.h
|
View
|
1
2
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session_pool.cc
|
View
|
1
2
|
11 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session_pool_unittest.cc
|
View
|
|
13 chunks |
+16 lines, -21 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session_unittest.cc
|
View
|
1
2
3
|
83 chunks |
+159 lines, -230 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream.h
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream_unittest.cc
|
View
|
|
14 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_test_util_common.h
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_test_util_common.cc
|
View
|
1
2
|
7 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_websocket_stream.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_websocket_stream.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_websocket_stream_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_write_queue_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/websockets/websocket_job.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/websockets/websocket_job_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/websockets/websocket_stream_base.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|