Chromium Code Reviews| 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); |