|
[SPDY] Add a SpdyStreamType enum and use it for SpdyStream
Use SpdyStreamType to enforce stream and stream delegate semantics
instead of trying to infer it from various parameters and return values.
Remove now-redundant return value of
SpdyStream::Delegate::OnSendRequestHeadersComplete().
Comment expected semantics of SpdyStream::Delegate member
functions and related SpdyStream member functions.
Enforce some restrictions on push streams. Namely, set send_status_
to NO_MORE_DATA_TO_SEND immediately for them, and make sure
its entry point is SpdyStream::OnResponseReceived().
Also clarify how push streams interact with the stream histograms.
BUG= 243643
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202401
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+392 lines, -250 lines) |
Patch |
 |
M |
net/http/http_proxy_client_socket_pool.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream.h
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_http_stream.cc
|
View
|
|
8 chunks |
+28 lines, -20 lines |
1 comment
|
Download
|
 |
M |
net/spdy/spdy_proxy_client_socket.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_proxy_client_socket.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_proxy_client_socket_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session.h
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session.cc
|
View
|
|
5 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session_spdy2_unittest.cc
|
View
|
|
28 chunks |
+78 lines, -45 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_session_spdy3_unittest.cc
|
View
|
|
40 chunks |
+111 lines, -66 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream.h
|
View
|
|
11 chunks |
+47 lines, -32 lines |
2 comments
|
Download
|
 |
M |
net/spdy/spdy_stream.cc
|
View
|
1
|
17 chunks |
+69 lines, -37 lines |
1 comment
|
Download
|
 |
M |
net/spdy/spdy_stream_spdy2_unittest.cc
|
View
|
|
5 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream_spdy3_unittest.cc
|
View
|
|
8 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream_test_util.h
|
View
|
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_stream_test_util.cc
|
View
|
|
3 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_test_util_common.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_test_util_common.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_websocket_stream.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_websocket_stream.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/spdy/spdy_write_queue_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|