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

Unified Diff: net/spdy/hpack_entry.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_encoder_test.cc ('k') | net/spdy/hpack_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack_entry.h
diff --git a/net/spdy/hpack_entry.h b/net/spdy/hpack_entry.h
index 90298fe4d0709e0698ed674045a432dce1305def..887b515aa0618034deb84ddb12bcb7123f4c132b 100644
--- a/net/spdy/hpack_entry.h
+++ b/net/spdy/hpack_entry.h
@@ -19,8 +19,8 @@
namespace net {
-// A structure for an entry in the header table (3.2) and the
-// reference set (3.3).
+// A structure for an entry in the static table (3.3.1)
+// and the header table (3.3.2).
class NET_EXPORT_PRIVATE HpackEntry {
public:
// The constant amount added to name().size() and value().size() to
@@ -60,11 +60,6 @@ class NET_EXPORT_PRIVATE HpackEntry {
// Returns whether this entry is a lookup-only entry.
bool IsLookup() const { return type_ == LOOKUP; }
- // Returns and sets the state of the entry, or zero if never set.
- // The semantics of |state| are specific to the encoder or decoder.
- uint8 state() const { return state_; }
- void set_state(uint8 state) { state_ = state; }
-
// Used to compute the entry's index in the header table.
size_t InsertionIndex() const { return insertion_index_; }
@@ -89,7 +84,6 @@ class NET_EXPORT_PRIVATE HpackEntry {
// table.
size_t insertion_index_;
- uint8 state_;
EntryType type_;
};
« no previous file with comments | « net/spdy/hpack_encoder_test.cc ('k') | net/spdy/hpack_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698