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

Unified Diff: net/quic/quic_headers_stream.h

Issue 1877703002: Landing Recent QUIC changes until 4/8/2016 17:17 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git sync 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
« no previous file with comments | « net/quic/quic_header_list_test.cc ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_headers_stream.h
diff --git a/net/quic/quic_headers_stream.h b/net/quic/quic_headers_stream.h
index 282a9ea5bace7f0880f653ddf5cdd7e8c57164e8..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"
@@ -49,6 +50,11 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream {
bool supports_push_promise() { return supports_push_promise_; }
+ // Experimental: force HPACK to use static table and huffman coding
+ // only. Part of exploring improvements related to headers stream
+ // induced HOL blocking in QUIC.
+ void DisableHpackDynamicTable();
+
private:
class SpdyFramerVisitor;
@@ -75,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);
@@ -105,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);
};
« no previous file with comments | « net/quic/quic_header_list_test.cc ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698