Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: net/quic/quic_headers_stream.h

Issue 1870833005: relnote: Implements OnHeaderFrameStart and OnHeaderFrameEnd in QuicHeadersStream. Not used in produ… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@06_CL_119188441
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698