Index: net/spdy/hpack_huffman_table.h |
diff --git a/net/spdy/hpack_huffman_table.h b/net/spdy/hpack_huffman_table.h |
index 8f1ada912f1216de9f1104bb9be6793ed9be845f..f776ddd2887e63dccabd9e026a5f54b36cbc5a53 100644 |
--- a/net/spdy/hpack_huffman_table.h |
+++ b/net/spdy/hpack_huffman_table.h |
@@ -77,6 +77,9 @@ class NET_EXPORT_PRIVATE HpackHuffmanTable { |
// context. |
void EncodeString(base::StringPiece in, HpackOutputStream* out) const; |
+ // Returns the encoded size of the input string. |
+ size_t EncodedSize(base::StringPiece in) const; |
+ |
// Decodes symbols from |in| into |out|. It is the caller's responsibility |
// to ensure |out| has a reserved a sufficient buffer to hold decoded output. |
// DecodeString() halts when |in| runs out of input, in which case true is |