Index: net/quic/quic_headers_stream.h |
diff --git a/net/quic/quic_headers_stream.h b/net/quic/quic_headers_stream.h |
index 8efe13a7fa9bdc4c3caa3cabc703088f90c8eee7..ba9518088553c05035be61c88e9bdb1787348816 100644 |
--- a/net/quic/quic_headers_stream.h |
+++ b/net/quic/quic_headers_stream.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "net/base/net_export.h" |
+#include "net/quic/quic_header_list.h" |
#include "net/quic/quic_protocol.h" |
#include "net/quic/reliable_quic_stream.h" |
#include "net/spdy/spdy_framer.h" |
@@ -80,6 +81,9 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream { |
const char* header_data, |
size_t len); |
+ // Called when the complete list of headers is available. |
+ void OnHeaderList(const QuicHeaderList& header_list); |
+ |
// Called when the size of the compressed frame payload is available. |
void OnCompressedFrameSize(size_t frame_len); |
@@ -110,6 +114,9 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream { |
SpdyFramer spdy_framer_; |
scoped_ptr<SpdyFramerVisitor> spdy_framer_visitor_; |
+ // Either empty, or contains the complete list of headers. |
+ QuicHeaderList header_list_; |
+ |
DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream); |
}; |