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

Unified Diff: net/spdy/spdy_framer.h

Issue 1146533003: Add SpdyFramer methods for SETTINGS_HEADER_TABLE_SIZE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove const qualifier from size_t return type. Created 5 years, 7 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 | « no previous file | net/spdy/spdy_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 55c3fa7578e9aee29122ca8610cb2922cc1366bd..f1f4908ea25e971ae53e078e6db9f2d88f6289fe 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -590,6 +590,12 @@ class NET_EXPORT_PRIVATE SpdyFramer {
const char* data,
size_t len);
+ // Updates the maximum size of header compression table.
+ void UpdateHeaderTableSizeSetting(uint32 value);
+
+ // Returns bound of header compression table size.
+ size_t header_table_size_bound() const;
+
protected:
// TODO(jgraettinger): Switch to test peer pattern.
FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, BasicCompression);
@@ -805,6 +811,9 @@ class NET_EXPORT_PRIVATE SpdyFramer {
// we know to terminate the stream when the entire header block has been
// processed.
bool end_stream_when_done_;
+
+ // Last acknowledged value for SETTINGS_HEADER_TABLE_SIZE.
+ size_t header_table_size_bound_;
};
} // namespace net
« no previous file with comments | « no previous file | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698