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

Unified Diff: net/socket/ssl_client_socket_pool.h

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (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/ssl_client_socket_pool.h
diff --git a/net/socket/ssl_client_socket_pool.h b/net/socket/ssl_client_socket_pool.h
index e7b7e8c92599bf7f70788478fbc5140656cd0d50..dd2f6de905b3b33f065db3e5fae1937bd98794c9 100644
--- a/net/socket/ssl_client_socket_pool.h
+++ b/net/socket/ssl_client_socket_pool.h
@@ -233,6 +233,11 @@ class NET_EXPORT_PRIVATE SSLClientSocketPool
LoadState GetLoadState(const std::string& group_name,
const ClientSocketHandle* handle) const override;
+ // Called by ClientSocketPoolManager to dump memory allocation statistics.
+ // |parent_dump| is the memory dump of the parent in the memory dump hierachy.
+ void DumpMemoryStats(
+ base::trace_event::MemoryAllocatorDump* parent_dump) const;
+
std::unique_ptr<base::DictionaryValue> GetInfoAsValue(
const std::string& name,
const std::string& type,

Powered by Google App Engine
This is Rietveld 408576698