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

Unified Diff: net/http/http_stream_factory.h

Issue 2619403002: TEMP DO NOT REVIEW
Patch Set: Created 3 years, 11 months 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 | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.h
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
index c4a95798cc5726ee0374e5c9fbf73cb3447b3f6c..febb391c73baa9c6858f49a6bcd428ae3dab98a9 100644
--- a/net/http/http_stream_factory.h
+++ b/net/http/http_stream_factory.h
@@ -22,6 +22,13 @@
// introduce any link dependency to net/websockets.
#include "net/websockets/websocket_handshake_stream_base.h"
+namespace base {
+class Value;
+namespace trace_event {
+class ProcessMemoryDump;
+}
+}
+
namespace net {
class AuthCredentials;
@@ -235,6 +242,12 @@ class NET_EXPORT HttpStreamFactory {
virtual const HostMappingRules* GetHostMappingRules() const = 0;
+ // Dumps memory allocation stats. |parent_dump_absolute_name| is the name
+ // used by the parent MemoryAllocatorDump in the memory dump hierarchy.
+ virtual void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd,
+ const std::string& parent_absolute_name) const =0 ;
+
+
protected:
HttpStreamFactory();
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698