Chromium Code Reviews| Index: net/quic/quic_spdy_stream.h |
| diff --git a/net/quic/quic_spdy_stream.h b/net/quic/quic_spdy_stream.h |
| index d47d9d834cfeee91aaef4ca028070f9e8d0f46b7..0d3fdc978fe8dc1214b5f25d5468f4642e14c58d 100644 |
| --- a/net/quic/quic_spdy_stream.h |
| +++ b/net/quic/quic_spdy_stream.h |
| @@ -151,6 +151,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_is_progress(bool value) { read_is_progress_ = value; } |
|
eroman
2016/02/12 21:12:43
read_in_progress
ramant (doing other things)
2016/02/13 00:14:19
Done.
|
| + |
| protected: |
| // Called by OnStreamHeadersComplete depending on which type (initial or |
| // trailing) headers are expected next. |
| @@ -167,6 +171,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; |
| @@ -187,6 +197,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_is_progress_ = false; |
| + |
| DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); |
| }; |