| Index: net/spdy/buffered_spdy_framer.h
|
| diff --git a/net/spdy/buffered_spdy_framer.h b/net/spdy/buffered_spdy_framer.h
|
| index 494238e07f30e622802d92d99b7ed212c41ce7cb..d0d55b7ed5fb814ea8d9e43dfb6f8022d4a4b809 100644
|
| --- a/net/spdy/buffered_spdy_framer.h
|
| +++ b/net/spdy/buffered_spdy_framer.h
|
| @@ -68,6 +68,10 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
|
| // and validated.
|
| virtual void OnSetting(SpdySettingsIds id, uint8 flags, uint32 value) = 0;
|
|
|
| + virtual void OnControlFrameCompressed(
|
| + const SpdyControlFrame& uncompressed_frame,
|
| + const SpdyControlFrame& compressed_frame) = 0;
|
| +
|
| protected:
|
| virtual ~BufferedSpdyFramerVisitorInterface() {}
|
|
|
| @@ -102,6 +106,12 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
|
| SpdySettingsIds id, uint8 flags, uint32 value) OVERRIDE;
|
| virtual void OnDataFrameHeader(const SpdyDataFrame* frame) OVERRIDE;
|
|
|
| + // Called after a control frame has been compressed to allow the visitor
|
| + // to record compression statistics.
|
| + virtual void OnControlFrameCompressed(
|
| + const SpdyControlFrame& uncompressed_frame,
|
| + const SpdyControlFrame& compressed_frame) OVERRIDE;
|
| +
|
| // SpdyFramer methods.
|
| size_t ProcessInput(const char* data, size_t len);
|
| int protocol_version();
|
|
|