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

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: Generate examples_07.hpack. 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
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>
Johnny 2014/08/06 15:04:50 Not used.
Bence 2014/08/06 20:20:22 git cl lint complaining about it when using std::p
#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);

Powered by Google App Engine
This is Rietveld 408576698