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

Unified Diff: net/spdy/hpack_encoder.h

Issue 448433002: Update HPACK implementation to draft-09 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify HandleControlFrameHeadersComplete test. 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..2fe9e065333cf3ece4461c543ff2af165d4d6240 100644
--- a/net/spdy/hpack_encoder.h
+++ b/net/spdy/hpack_encoder.h
@@ -7,6 +7,7 @@
#include <map>
#include <string>
+#include <utility>
#include <vector>
#include "base/basictypes.h"
@@ -66,8 +67,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 +79,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