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

Unified Diff: net/spdy/hpack_entry.cc

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.h ('k') | net/spdy/hpack_entry_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack_entry.cc
diff --git a/net/spdy/hpack_entry.cc b/net/spdy/hpack_entry.cc
index f56f181deb7533e807db33955951c2715dd452b8..169298e1c52d76d661f07e9b5456690642802f97 100644
--- a/net/spdy/hpack_entry.cc
+++ b/net/spdy/hpack_entry.cc
@@ -21,7 +21,6 @@ HpackEntry::HpackEntry(StringPiece name,
: name_(name.data(), name.size()),
value_(value.data(), value.size()),
insertion_index_(insertion_index),
- state_(0),
type_(is_static ? STATIC : DYNAMIC) {
}
@@ -29,13 +28,11 @@ HpackEntry::HpackEntry(StringPiece name, StringPiece value)
: name_(name.data(), name.size()),
value_(value.data(), value.size()),
insertion_index_(0),
- state_(0),
type_(LOOKUP) {
}
HpackEntry::HpackEntry()
: insertion_index_(0),
- state_(0),
type_(LOOKUP) {
}
@@ -52,8 +49,7 @@ size_t HpackEntry::Size() const {
std::string HpackEntry::GetDebugString() const {
return "{ name: \"" + name_ +
"\", value: \"" + value_ +
- "\", " + (IsStatic() ? "static" : "dynamic") +
- ", state: " + base::IntToString(state_) + " }";
+ "\", " + (IsStatic() ? "static" : "dynamic") + " }";
}
} // namespace net
« no previous file with comments | « net/spdy/hpack_entry.h ('k') | net/spdy/hpack_entry_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698