| 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..9c0dae87c9c3de134ce58183dcd67fece4bd20bd 100644
|
| --- a/net/socket/client_socket_pool_manager.h
|
| +++ b/net/socket/client_socket_pool_manager.h
|
| @@ -9,6 +9,8 @@
|
| #ifndef NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_
|
| #define NET_SOCKET_CLIENT_SOCKET_POOL_MANAGER_H_
|
|
|
| +#include <string>
|
| +
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/net_export.h"
|
| #include "net/base/request_priority.h"
|
| @@ -16,6 +18,9 @@
|
|
|
| namespace base {
|
| class Value;
|
| +namespace trace_event {
|
| +class ProcessMemoryDump;
|
| +}
|
| }
|
|
|
| namespace net {
|
| @@ -83,6 +88,12 @@ 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_absolute_name| is the name
|
| + // used by the parent MemoryAllocatorDump in the memory dump hierarchy.
|
| + virtual void DumpMemoryStats(
|
| + base::trace_event::ProcessMemoryDump* pmd,
|
| + const std::string& parent_dump_absolute_name) const = 0;
|
| };
|
|
|
| // A helper method that uses the passed in proxy information to initialize a
|
|
|