Chromium Code Reviews| Index: net/spdy/spdy_session.h |
| diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
| index 755a1ef187528cac48b60fedaf0c7f9f3c4bece1..34e3ac62ff0283b5627e287edb0d6f4566e73050 100644 |
| --- a/net/spdy/spdy_session.h |
| +++ b/net/spdy/spdy_session.h |
| @@ -46,6 +46,12 @@ |
| #include "url/gurl.h" |
| #include "url/scheme_host_port.h" |
| +namespace base { |
| +namespace trace_event { |
| +class ProcessMemoryDump; |
| +} |
| +} |
| + |
| namespace net { |
| namespace test { |
| @@ -565,6 +571,11 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
| // HigherLayeredPool implementation: |
| bool CloseOneIdleConnection() override; |
| + // Dumps memory allocation stats. |parent_dump_absolute_name| is the name |
|
Bence
2016/12/08 19:52:32
Same here.
xunjieli
2016/12/08 19:55:17
Done.
|
| + // used by the parent MemoryAllocatorDump in the memory dump hierarchy. |
| + void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd, |
| + const std::string& parent_absolute_name) const; |
| + |
| private: |
| friend class test::SpdyStreamTest; |
| friend class base::RefCounted<SpdySession>; |