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

Unified Diff: net/spdy/hpack_encoder.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_decoder_test.cc ('k') | net/spdy/hpack_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack_encoder.h
diff --git a/net/spdy/hpack_encoder.h b/net/spdy/hpack_encoder.h
index 12e41c52375f36e2da4e459998c858a80560ec22..7d73b9292d3be0d3cb840b1e82a92e2385be1e50 100644
--- a/net/spdy/hpack_encoder.h
+++ b/net/spdy/hpack_encoder.h
@@ -66,8 +66,7 @@ class NET_EXPORT_PRIVATE HpackEncoder {
typedef std::vector<Representation> Representations;
// Emits a static/dynamic indexed representation (Section 7.1).
- void EmitDynamicIndex(HpackEntry* entry);
- void EmitStaticIndex(HpackEntry* entry);
+ void EmitIndex(HpackEntry* entry);
// Emits a literal representation (Section 7.2).
void EmitIndexedLiteral(const Representation& representation);
@@ -79,13 +78,6 @@ class NET_EXPORT_PRIVATE HpackEncoder {
void UpdateCharacterCounts(base::StringPiece str);
- // Determines the representation delta required to encode |header_set| in
- // the current header table context. Entries in the reference set are
- // enumerated and marked with membership in the current |header_set|.
- // Representations which must be explicitly emitted are returned.
- Representations DetermineEncodingDelta(
- const std::map<std::string, std::string>& header_set);
-
// Crumbles a cookie header into sorted, de-duplicated crumbs.
static void CookieToCrumbs(const Representation& cookie,
Representations* crumbs_out);
« no previous file with comments | « net/spdy/hpack_decoder_test.cc ('k') | net/spdy/hpack_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698