| Index: net/spdy/buffered_spdy_framer.h
|
| diff --git a/net/spdy/buffered_spdy_framer.h b/net/spdy/buffered_spdy_framer.h
|
| index 7ab4fa37d1fae7f487cf8246b85ec49684c34384..fa0ead92314860699c94acd5277f81ae966fdd9a 100644
|
| --- a/net/spdy/buffered_spdy_framer.h
|
| +++ b/net/spdy/buffered_spdy_framer.h
|
| @@ -230,6 +230,9 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
|
|
|
| int frames_received() const { return frames_received_; }
|
|
|
| + // Returns the estimate of dynamically allocated memory in bytes.
|
| + size_t EstimateMemoryUsage() const;
|
| +
|
| private:
|
| SpdyFramer spdy_framer_;
|
| BufferedSpdyFramerVisitorInterface* visitor_;
|
| @@ -258,6 +261,9 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
|
| SpdyStreamId last_accepted_stream_id;
|
| SpdyErrorCode error_code;
|
| std::string debug_data;
|
| +
|
| + // Returns the estimate of dynamically allocated memory in bytes.
|
| + size_t EstimateMemoryUsage() const;
|
| };
|
| std::unique_ptr<GoAwayFields> goaway_fields_;
|
|
|
|
|