summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_http_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_http_stream.h')
-rw-r--r--net/quic/quic_http_stream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/quic/quic_http_stream.h b/net/quic/quic_http_stream.h
index 0ca1f81..a3dd962 100644
--- a/net/quic/quic_http_stream.h
+++ b/net/quic/quic_http_stream.h
@@ -21,7 +21,7 @@ class NET_EXPORT_PRIVATE QuicHttpStream :
public QuicReliableClientStream::Delegate,
public HttpStream {
public:
- explicit QuicHttpStream(QuicReliableClientStream* stream);
+ QuicHttpStream(QuicReliableClientStream* stream, bool use_spdy);
virtual ~QuicHttpStream();
@@ -113,6 +113,9 @@ class NET_EXPORT_PRIVATE QuicHttpStream :
bool response_headers_received_;
+ // True if the request and response bodies should be serialized via SPDY.
+ bool use_spdy_;
+
// Serialized HTTP request.
std::string request_;