Index: net/spdy/hpack/hpack_decoder.h |
diff --git a/net/spdy/hpack/hpack_decoder.h b/net/spdy/hpack/hpack_decoder.h |
index b430f7c56baa452a4d805f50bff8d16b64dc9e3b..c78bf3cc1d33a00198589d44e7611a294004fc73 100644 |
--- a/net/spdy/hpack/hpack_decoder.h |
+++ b/net/spdy/hpack/hpack_decoder.h |
@@ -112,9 +112,14 @@ class NET_EXPORT_PRIVATE HpackDecoder { |
// Flag to keep track of having seen the header block start. |
bool header_block_started_; |
+ // Total bytes have been removed from headers_block_buffer_. |
+ // Its value is updated during incremental decoding. |
+ uint32_t total_parsed_bytes_; |
+ |
// Handlers for decoding HPACK opcodes and header representations |
// (or parts thereof). These methods return true on success and |
// false on error. |
+ bool DecodeNextOpcodeWrapper(HpackInputStream* input_stream); |
bool DecodeNextOpcode(HpackInputStream* input_stream); |
bool DecodeNextHeaderTableSizeUpdate(HpackInputStream* input_stream); |
bool DecodeNextIndexedHeader(HpackInputStream* input_stream); |