| Index: net/spdy/spdy_headers_handler_interface.h
|
| diff --git a/net/spdy/spdy_headers_handler_interface.h b/net/spdy/spdy_headers_handler_interface.h
|
| index 2c48abfe94120ad9dde1aae9cf4bc8c875b83be0..e4652ddef8be2afaf89c1f2118ffaadee34d26a5 100644
|
| --- a/net/spdy/spdy_headers_handler_interface.h
|
| +++ b/net/spdy/spdy_headers_handler_interface.h
|
| @@ -27,10 +27,18 @@ class NET_EXPORT_PRIVATE SpdyHeadersHandlerInterface {
|
| // values for a given key will be emitted as multiple calls to OnHeader.
|
| virtual void OnHeader(base::StringPiece key, base::StringPiece value) = 0;
|
|
|
| + // TODO(yasong): deprecate this method with
|
| + // --gfe2_reloadable_flag_log_compressed_size.
|
| // A callback method which notifies when the parser finishes handling a
|
| // header block (i.e. the containing frame has the END_HEADERS flag set).
|
| // Also indicates the total number of bytes in this block.
|
| virtual void OnHeaderBlockEnd(size_t uncompressed_header_bytes) = 0;
|
| +
|
| + // A callback method which notifies when the parser finishes handling a
|
| + // header block (i.e. the containing frame has the END_HEADERS flag set).
|
| + // Also indicates the total number of bytes in this block.
|
| + virtual void OnHeaderBlockEnd(size_t uncompressed_header_bytes,
|
| + size_t compressed_header_bytes) = 0;
|
| };
|
|
|
| } // namespace net
|
|
|