| Index: net/socket/ssl_client_socket_impl.h
|
| diff --git a/net/socket/ssl_client_socket_impl.h b/net/socket/ssl_client_socket_impl.h
|
| index de677ba37138ce3742f0ff0edfcea5280d541c68..457cf0df97bd0a1933b5cdd53fe9cc5737aff6be 100644
|
| --- a/net/socket/ssl_client_socket_impl.h
|
| +++ b/net/socket/ssl_client_socket_impl.h
|
| @@ -37,6 +37,9 @@
|
| namespace base {
|
| class FilePath;
|
| class SequencedTaskRunner;
|
| +namespace trace_event {
|
| +class ProcessMemoryDump;
|
| +}
|
| }
|
|
|
| namespace crypto {
|
| @@ -114,7 +117,13 @@ class SSLClientSocketImpl : public SSLClientSocket,
|
| void ClearConnectionAttempts() override {}
|
| void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
|
| int64_t GetTotalReceivedBytes() const override;
|
| + void DumpMemoryStats(
|
| + base::trace_event::MemoryAllocatorDump* dump) const override;
|
|
|
| + // Called by URLRequestContext::OnMemoryDump() to dump memory allocation
|
| + // stats. |dump| is the browser process memory dump.
|
| + static void DumpSSLClientSessionMemoryStats(
|
| + base::trace_event::ProcessMemoryDump* pmd);
|
| // Socket implementation.
|
| int Read(IOBuffer* buf,
|
| int buf_len,
|
|
|