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..dff1331fce28dd3513dd35cb0fdec62a325fb418 100644 |
--- a/net/socket/ssl_client_socket_impl.h |
+++ b/net/socket/ssl_client_socket_impl.h |
@@ -37,6 +37,10 @@ |
namespace base { |
class FilePath; |
class SequencedTaskRunner; |
+namespace trace_event { |
+class MemoryAllocatorDump; |
+class ProcessMemoryDump; |
+} |
} |
namespace crypto { |
@@ -114,6 +118,12 @@ class SSLClientSocketImpl : public SSLClientSocket, |
void ClearConnectionAttempts() override {} |
void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} |
int64_t GetTotalReceivedBytes() const override; |
+ void DumpMemoryStats( |
+ base::trace_event::MemoryAllocatorDump* parent_dump) const override; |
+ |
+ // Dumps memory allocation stats. |pmd| is the browser process memory dump. |
+ static void DumpSSLClientSessionMemoryStats( |
+ base::trace_event::ProcessMemoryDump* pmd); |
// Socket implementation. |
int Read(IOBuffer* buf, |