Index: net/quic/quic_spdy_stream.h |
diff --git a/net/quic/quic_spdy_stream.h b/net/quic/quic_spdy_stream.h |
index e7f640e0c88d1f469c9a988c3d3cb049fb301096..ba1adfdd79ea7ca85323abca68b8fcf251a2b885 100644 |
--- a/net/quic/quic_spdy_stream.h |
+++ b/net/quic/quic_spdy_stream.h |
@@ -147,6 +147,10 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { |
// written to the server. |
void SetPriority(SpdyPriority priority); |
+ // TODO(rtenneti): Temporary until crbug.com/585591 is solved. |
+ void CrashIfInvalid() const; |
+ void set_read_in_progress(bool value) { read_in_progress_ = value; } |
+ |
protected: |
// Called by OnStreamHeadersComplete depending on which type (initial or |
// trailing) headers are expected next. |
@@ -163,6 +167,12 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { |
friend class test::ReliableQuicStreamPeer; |
friend class QuicStreamUtils; |
+ // TODO(rtenneti): Temporary until crbug.com/585591 is solved. |
+ enum Liveness { |
+ ALIVE = 0xCA11AB13, |
+ DEAD = 0xDEADBEEF, |
+ }; |
+ |
// Returns true if trailers have been fully read and consumed. |
bool FinishedReadingTrailers() const; |
@@ -183,6 +193,10 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { |
// via ProcessData or Readv. |
std::string decompressed_trailers_; |
+ // TODO(rtenneti): Temporary until crbug.com/585591 is solved. |
+ Liveness liveness_ = ALIVE; |
+ bool read_in_progress_ = false; |
+ |
DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); |
}; |