| Index: net/socket/client_socket_pool_base.h
|
| diff --git a/net/socket/client_socket_pool_base.h b/net/socket/client_socket_pool_base.h
|
| index 192602186f285b90791dab45319ad90950dfde70..be94fc24987c370229e669a51f5ac84d577a085e 100644
|
| --- a/net/socket/client_socket_pool_base.h
|
| +++ b/net/socket/client_socket_pool_base.h
|
| @@ -56,6 +56,9 @@
|
|
|
| namespace base {
|
| class DictionaryValue;
|
| +namespace trace_event {
|
| +class MemoryAllocatorDump;
|
| +}
|
| }
|
|
|
| namespace net {
|
| @@ -338,6 +341,11 @@ class NET_EXPORT_PRIVATE ClientSocketPoolBaseHelper
|
| const std::string& name,
|
| const std::string& type) 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;
|
| +
|
| base::TimeDelta ConnectionTimeout() const {
|
| return connect_job_factory_->ConnectionTimeout();
|
| }
|
| @@ -793,6 +801,10 @@ class ClientSocketPoolBase {
|
| return helper_.GetLoadState(group_name, handle);
|
| }
|
|
|
| + void DumpMemoryStats(base::trace_event::MemoryAllocatorDump* dump) const {
|
| + return helper_.DumpMemoryStats(dump);
|
| + }
|
| +
|
| virtual void OnConnectJobComplete(int result, ConnectJob* job) {
|
| return helper_.OnConnectJobComplete(result, job);
|
| }
|
|
|