Chromium Code Reviews| Index: net/spdy/spdy_protocol.h |
| diff --git a/net/spdy/spdy_protocol.h b/net/spdy/spdy_protocol.h |
| index 3c2187c0dac571d1c8b62fd206c7157f75ec7f76..523ad57513c6b275c450dbde3f2b62db2da8870e 100644 |
| --- a/net/spdy/spdy_protocol.h |
| +++ b/net/spdy/spdy_protocol.h |
| @@ -862,6 +862,9 @@ class SpdySerializedFrame { |
| return buffer; |
| } |
| + // Returns the estimate of dynamically allocated memory in bytes. |
| + size_t EstimateMemoryUsage() const { return owns_buffer_ ? size_ : 0; } |
| + |
| protected: |
| char* frame_; |