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

Unified Diff: net/spdy/hpack_header_table.h

Issue 485833002: HTTP2 draft 14 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ignore_result(). Created 6 years, 4 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/spdy/hpack_entry_test.cc ('k') | net/spdy/hpack_header_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack_header_table.h
diff --git a/net/spdy/hpack_header_table.h b/net/spdy/hpack_header_table.h
index 7e543337dfb6bed5e8f1621669b53000542d870f..2370ba557cd2a54f38ee817dab088782c020a213 100644
--- a/net/spdy/hpack_header_table.h
+++ b/net/spdy/hpack_header_table.h
@@ -23,8 +23,7 @@ namespace test {
class HpackHeaderTablePeer;
} // namespace test
-// A data structure for both the header table (described in 3.2) and
-// the reference set (3.3).
+// A data structure for the static table (3.3.1) and the header table (3.3.2).
class NET_EXPORT_PRIVATE HpackHeaderTable {
public:
friend class test::HpackHeaderTablePeer;
@@ -63,10 +62,6 @@ class NET_EXPORT_PRIVATE HpackHeaderTable {
size_t size() const { return size_; }
size_t max_size() const { return max_size_; }
- const OrderedEntrySet& reference_set() {
- return reference_set_;
- }
-
// Returns the entry matching the index, or NULL.
HpackEntry* GetByIndex(size_t index);
@@ -101,15 +96,6 @@ class NET_EXPORT_PRIVATE HpackHeaderTable {
// evicted and the empty table is of insufficent size for the representation.
HpackEntry* TryAddEntry(base::StringPiece name, base::StringPiece value);
- // Toggles the presence of a dynamic entry in the reference set. Returns
- // true if the entry was added, or false if removed. It is an error to
- // Toggle(entry) if |entry->state()| != 0.
- bool Toggle(HpackEntry* entry);
-
- // Removes all entries from the reference set. Sets the state of each removed
- // entry to zero.
- void ClearReferenceSet();
-
void DebugLogTableState() const;
private:
@@ -128,8 +114,6 @@ class NET_EXPORT_PRIVATE HpackHeaderTable {
// Full table index, over |dynamic_entries_| and |static_entries_|.
OrderedEntrySet index_;
- // The reference set is strictly a subset of |dynamic_entries_|.
- OrderedEntrySet reference_set_;
// Last acknowledged value for SETTINGS_HEADER_TABLE_SIZE.
size_t settings_size_bound_;
« no previous file with comments | « net/spdy/hpack_entry_test.cc ('k') | net/spdy/hpack_header_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698