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

Unified Diff: net/quic/core/quic_header_list.h

Issue 2430973004: Landing Recent QUIC changes until 10:38 AM, Oct 17, 2016 UTC-4 (Closed)
Patch Set: Improving flagsaver logging Created 4 years, 2 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/core/quic_framer_test.cc ('k') | net/quic/core/quic_header_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_header_list.h
diff --git a/net/quic/core/quic_header_list.h b/net/quic/core/quic_header_list.h
index 6bff6ce057b8f444092f8d94985530fc159cc735..529bde5b097bbc3644d7cdd1fc31fbe3c834d69e 100644
--- a/net/quic/core/quic_header_list.h
+++ b/net/quic/core/quic_header_list.h
@@ -35,7 +35,6 @@ class NET_EXPORT_PRIVATE QuicHeaderList : public SpdyHeadersHandlerInterface {
void OnHeaderBlockEnd(size_t uncompressed_header_bytes) override;
void OnHeaderBlockEnd(size_t uncompressed_header_bytes,
size_t compressed_header_bytes) override;
-
void Clear();
const_iterator begin() const { return header_list_.begin(); }
@@ -48,10 +47,15 @@ class NET_EXPORT_PRIVATE QuicHeaderList : public SpdyHeadersHandlerInterface {
size_t compressed_header_bytes() const { return compressed_header_bytes_; }
+ void set_max_uncompressed_header_bytes(size_t max_uncompressed_header_bytes) {
+ max_uncompressed_header_bytes_ = max_uncompressed_header_bytes;
+ }
+
std::string DebugString() const;
private:
std::deque<std::pair<std::string, std::string>> header_list_;
+ size_t max_uncompressed_header_bytes_;
size_t uncompressed_header_bytes_;
size_t compressed_header_bytes_;
};
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/core/quic_header_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698