diff options
Diffstat (limited to 'net/quic/quic_spdy_stream.h')
| -rw-r--r-- | net/quic/quic_spdy_stream.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/quic/quic_spdy_stream.h b/net/quic/quic_spdy_stream.h index 65304d6..a5adfe2 100644 --- a/net/quic/quic_spdy_stream.h +++ b/net/quic/quic_spdy_stream.h @@ -141,6 +141,11 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { return decompressed_trailers_; } + // Returns whatever trailers have been received for this stream. + const SpdyHeaderBlock& response_trailers() const { + return response_trailers_; + } + virtual SpdyPriority priority() const; // Sets priority_ to priority. This should only be called before bytes are @@ -182,6 +187,8 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { // Contains a copy of the decompressed trailers until they are consumed // via ProcessData or Readv. std::string decompressed_trailers_; + // The parsed trailers received from the peer. + SpdyHeaderBlock response_trailers_; DISALLOW_COPY_AND_ASSIGN(QuicSpdyStream); }; |
