Index: net/spdy/spdy_http_stream.h |
=================================================================== |
--- net/spdy/spdy_http_stream.h (revision 80449) |
+++ net/spdy/spdy_http_stream.h (working copy) |
@@ -79,6 +79,15 @@ |
virtual void OnClose(int status); |
virtual void set_chunk_callback(ChunkCallback* callback); |
+ // Returns true if the underlying socket's transport protocol is SCTP. |
+ bool using_sctp() { return stream()->using_sctp(); } |
+ |
+ // Returns true if the underlying socket's transport protocol is SCTP and SPDY |
+ // control frames are sent on SCTP stream 0. |
+ bool using_sctp_control_stream() { |
+ return stream()->using_sctp_control_stream(); |
+ } |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, FlowControlStallResume); |