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

Unified Diff: net/spdy/hpack_huffman_table.h

Issue 246073007: SPDY & HPACK: Land recent internal changes (through 65328503) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on upstream change: Expanded FRAME_TOO_LARGE/FRAME_SIZE_ERROR comment. Created 6 years, 8 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_header_table_test.cc ('k') | net/spdy/hpack_huffman_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « net/spdy/hpack_header_table_test.cc ('k') | net/spdy/hpack_huffman_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698