Index: net/http/http_network_session.h |
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h |
index 8986dcf93758fbd5c5d33192b9a3c8a47d158565..67abeb63229b56bf9326f0e5b8b7fc20f67ed1f1 100644 |
--- a/net/http/http_network_session.h |
+++ b/net/http/http_network_session.h |
@@ -33,6 +33,9 @@ |
namespace base { |
class Value; |
+namespace trace_event { |
+class MemoryAllocatorDump; |
+} |
} |
namespace net { |
@@ -278,6 +281,11 @@ class NET_EXPORT HttpNetworkSession |
SSLConfig* server_config, |
SSLConfig* proxy_config) const; |
+ // Dumps memory allocation stats. |parent_dump| is the MemoryAllocatorDump of |
+ // the parent in the memory dump hierarchy. |
+ void DumpMemoryStats( |
+ base::trace_event::MemoryAllocatorDump* parent_dump) const; |
+ |
private: |
friend class HttpNetworkSessionPeer; |