Index: net/socket/client_socket_pool_manager.h |
diff --git a/net/socket/client_socket_pool_manager.h b/net/socket/client_socket_pool_manager.h |
index 553a34845113f90ddcc6a658308546ef69e6249f..933e0cbaa8fc5f9fe1930573a58bb8787a0682ed 100644 |
--- a/net/socket/client_socket_pool_manager.h |
+++ b/net/socket/client_socket_pool_manager.h |
@@ -16,6 +16,9 @@ |
namespace base { |
class Value; |
+namespace trace_event { |
+class MemoryAllocatorDump; |
+} |
} |
namespace net { |
@@ -83,6 +86,11 @@ class NET_EXPORT_PRIVATE ClientSocketPoolManager { |
const HostPortPair& proxy_server) = 0; |
// Creates a Value summary of the state of the socket pools. |
virtual std::unique_ptr<base::Value> SocketPoolInfoToValue() const = 0; |
+ |
+ // Dumps memory allocation stats. |parent_dump| is the MemoryAllocatorDump of |
+ // the parent in the memory dump hierarchy. |
+ virtual void DumpMemoryStats( |
+ base::trace_event::MemoryAllocatorDump* parent_dump) const = 0; |
}; |
// A helper method that uses the passed in proxy information to initialize a |