|
|
The Handle is owned by the holder of the Handle and can outlive the session. In the event that it does outlive the session, it will record state from the session in member variables so that the holder of a session need not be aware of the lifetime of the underlying session.
As a consequence, this change eliminates the need for the QuicChromiumClientSession::Observer interface, and hence eliminates the upcalls from the session to the streams. There are still upcalls from the QuicStream to the QuicHttpStream (and friends) but those can be removed in subsequent CLs by following the same pattern.
BUG= 716563
Review-Url: https://codereview.chromium.org/2334943002
Cr-Commit-Position: refs/heads/master@{#469756}
Committed: https://chromium.googlesource.com/chromium/src/+/f0b18c8a8efc9b2dd335a0b29bd243b0711919a6
Total comments: 19
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+604 lines, -325 lines) |
Patch |
 |
M |
net/quic/chromium/bidirectional_stream_quic_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/bidirectional_stream_quic_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+20 lines, -47 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
16 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_chromium_client_session.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
10 chunks |
+120 lines, -21 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_chromium_client_session.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
13 chunks |
+196 lines, -49 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_chromium_client_session_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
16 chunks |
+140 lines, -40 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_http_stream.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+11 lines, -18 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_http_stream.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
15 chunks |
+30 lines, -59 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_http_stream_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_stream_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_stream_factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
net/quic/chromium/quic_stream_factory_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
 |
M |
net/spdy/chromium/multiplexed_http_stream.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/chromium/multiplexed_http_stream.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/spdy/chromium/multiplexed_session.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
net/spdy/chromium/multiplexed_session.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/spdy/chromium/spdy_http_stream.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 31 (18 generated)
|