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

Unified Diff: net/quic/quic_headers_stream.h

Issue 2104633002: Landing recent QUIC changes until 6/24/2016 14:00 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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_framer.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 b338882b397b4d574f41f4965eb3e0368e3bfe17..3f174030878b51707b7060f93d2079507c8b5f17 100644
--- a/net/quic/quic_headers_stream.h
+++ b/net/quic/quic_headers_stream.h
@@ -20,6 +20,10 @@ namespace net {
class QuicSpdySession;
+namespace test {
+class QuicHeadersStreamPeer;
+} // namespace test
+
// Headers in QUIC are sent as HTTP/2 HEADERS or PUSH_PROMISE frames
// over a reserved reliable stream with the id 3. Each endpoint
// (client and server) will allocate an instance of QuicHeadersStream
@@ -75,6 +79,10 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream {
void SetHpackEncoderDebugVisitor(std::unique_ptr<HpackDebugVisitor> visitor);
void SetHpackDecoderDebugVisitor(std::unique_ptr<HpackDebugVisitor> visitor);
+ // Sets the maximum size of the header compression table spdy_framer_ is
+ // willing to use to decode header blocks.
+ void UpdateHeaderEncoderTableSize(uint32_t value);
+
// Sets how much encoded data the hpack decoder of spdy_framer_ is willing to
// buffer.
void set_max_decode_buffer_size_bytes(size_t max_decode_buffer_size_bytes) {
@@ -82,6 +90,8 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream {
}
private:
+ friend class test::QuicHeadersStreamPeer;
+
class SpdyFramerVisitor;
// The following methods are called by the SimpleVisitor.
« no previous file with comments | « net/quic/quic_framer.cc ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698