Chromium Code Reviews| Index: net/socket/client_socket_handle.h |
| diff --git a/net/socket/client_socket_handle.h b/net/socket/client_socket_handle.h |
| index 51ef666b739421f26513b2c8df13464cb34726e7..554044a52f615fd67479ab0e56e2e7ef2f2580c3 100644 |
| --- a/net/socket/client_socket_handle.h |
| +++ b/net/socket/client_socket_handle.h |
| @@ -26,6 +26,12 @@ |
| #include "net/socket/connection_attempts.h" |
| #include "net/socket/stream_socket.h" |
| +namespace base { |
| +namespace trace_event { |
| +class ProcessMemoryDump; |
| +} |
| +} |
| + |
| namespace net { |
| // A container for a StreamSocket. |
| @@ -122,6 +128,11 @@ class NET_EXPORT ClientSocketHandle { |
| bool GetLoadTimingInfo(bool is_reused, |
| LoadTimingInfo* load_timing_info) const; |
| + // Dumps memory allocation stats. |parent_dump_absolute_name| is the name |
|
Bence
2016/12/08 19:52:32
s/parent_dump_absolute_name/parent_absolute_name/
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; |
| + |
| // Used by ClientSocketPool to initialize the ClientSocketHandle. |
| // |
| // SetSocket() may also be used if this handle is used as simply for |