Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: net/spdy/spdy_http_stream.h

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698