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

Unified Diff: net/http/http_network_session.h

Issue 2541093003: Instrument SSL sockets using MemoryDumpProvider (Closed)
Patch Set: Fix flaky test 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
« no previous file with comments | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 5f016942643fd72a2fc9a8a8dfaa7ce30588278a..cc20ea10eb48f5870a8bc9096fb01cbb7e6c3187 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -33,6 +33,9 @@
namespace base {
class Value;
+namespace trace_event {
+class ProcessMemoryDump;
+}
}
namespace net {
@@ -275,6 +278,11 @@ class NET_EXPORT HttpNetworkSession
SSLConfig* server_config,
SSLConfig* proxy_config) const;
+ // Dumps memory allocation stats. |parent_dump_absolute_name| is the name
+ // used by the parent MemoryAllocatorDump in the memory dump hierarchy.
+ void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd,
+ const std::string& parent_absolute_name) const;
+
private:
friend class HttpNetworkSessionPeer;
« no previous file with comments | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698