Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1685)

Unified Diff: net/socket/client_socket_pool_manager.h

Issue 2541093003: Instrument SSL sockets using MemoryDumpProvider (Closed)
Patch Set: self review Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/client_socket_pool_manager.h
diff --git a/net/socket/client_socket_pool_manager.h b/net/socket/client_socket_pool_manager.h
index 553a34845113f90ddcc6a658308546ef69e6249f..933e0cbaa8fc5f9fe1930573a58bb8787a0682ed 100644
--- a/net/socket/client_socket_pool_manager.h
+++ b/net/socket/client_socket_pool_manager.h
@@ -16,6 +16,9 @@
namespace base {
class Value;
+namespace trace_event {
+class MemoryAllocatorDump;
+}
}
namespace net {
@@ -83,6 +86,11 @@ class NET_EXPORT_PRIVATE ClientSocketPoolManager {
const HostPortPair& proxy_server) = 0;
// Creates a Value summary of the state of the socket pools.
virtual std::unique_ptr<base::Value> SocketPoolInfoToValue() const = 0;
+
+ // Dumps memory allocation stats. |parent_dump| is the MemoryAllocatorDump of
+ // the parent in the memory dump hierarchy.
+ virtual void DumpMemoryStats(
+ base::trace_event::MemoryAllocatorDump* parent_dump) const = 0;
};
// A helper method that uses the passed in proxy information to initialize a

Powered by Google App Engine
This is Rietveld 408576698