Index: net/quic/core/quic_spdy_stream.h |
diff --git a/net/quic/core/quic_spdy_stream.h b/net/quic/core/quic_spdy_stream.h |
index 294be26e96ae6135ac39b3328a09b56a709c5cf6..8cdcf4a11c7caf78fd77b7b0fb937a7ff63a0d24 100644 |
--- a/net/quic/core/quic_spdy_stream.h |
+++ b/net/quic/core/quic_spdy_stream.h |
@@ -211,6 +211,12 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { |
// will be available. |
bool IsClosed() { return sequencer()->IsClosed(); } |
+ void set_allow_bidirectional_data(bool value) { |
+ allow_bidirectional_data_ = value; |
+ } |
+ |
+ bool allow_bidirectional_data() const { return allow_bidirectional_data_; } |
+ |
protected: |
// Called by OnStreamHeadersComplete depending on which type (initial or |
// trailing) headers are expected next. |
@@ -241,6 +247,9 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { |
QuicSpdySession* spdy_session_; |
Visitor* visitor_; |
+ // If true, allow sending of a request to continue while the response is |
+ // arriving. |
+ bool allow_bidirectional_data_; |
// True if the headers have been completely decompressed. |
bool headers_decompressed_; |
// The priority of the stream, once parsed. |