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..3070daf557cf37b51ca39b857d75f636b03e5f08 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,6 +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::ProcessMemoryDump* pmd, |
+ const std::string& parent_dump_absolute_name) 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, |