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

Unified Diff: net/spdy/hpack/hpack_huffman_decoder.h

Issue 2026593002: Remove limit on individual hpack string literals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused include. Created 4 years, 6 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/hpack_decoder_test.cc ('k') | net/spdy/hpack/hpack_huffman_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_huffman_decoder.h
diff --git a/net/spdy/hpack/hpack_huffman_decoder.h b/net/spdy/hpack/hpack_huffman_decoder.h
index d63aa0485223a4b49bce780f5971fbcd0c2e8401..302e6c97a48b6ac2019bba723d1a1b4a24c3df90 100644
--- a/net/spdy/hpack/hpack_huffman_decoder.h
+++ b/net/spdy/hpack/hpack_huffman_decoder.h
@@ -34,9 +34,8 @@ class NET_EXPORT_PRIVATE HpackHuffmanDecoder {
// sufficient space in |*out| to hold decoded output.
// DecodeString() halts when |in| runs out of input, in which case true is
// returned. It also halts (returning false) if an invalid Huffman code
- // prefix is read, or if |out_capacity| would otherwise be overflowed.
+ // prefix is read.
static bool DecodeString(HpackInputStream* in,
- size_t out_capacity,
std::string* out);
private:
« no previous file with comments | « net/spdy/hpack/hpack_decoder_test.cc ('k') | net/spdy/hpack/hpack_huffman_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698