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

Unified Diff: net/ssl/ssl_client_session_cache.h

Issue 2525743002: Make URLRequestContext a MemoryDumpProvider (Abandoned) (Closed)
Patch Set: rebased to 7f3d142161b15869f6bea58ac43c5f52ce5834ac Created 4 years, 1 month 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/ssl/ssl_client_session_cache.h
diff --git a/net/ssl/ssl_client_session_cache.h b/net/ssl/ssl_client_session_cache.h
index cd668a2614def6cd59d343ca1bf2f16b38bf23bb..346f593a919c2b499f1c56f25971c486e9cb7c07 100644
--- a/net/ssl/ssl_client_session_cache.h
+++ b/net/ssl/ssl_client_session_cache.h
@@ -24,6 +24,9 @@
namespace base {
class Clock;
+namespace trace_event {
+class ProcessMemoryDump;
+}
}
namespace net {
@@ -56,6 +59,8 @@ class NET_EXPORT SSLClientSessionCache : public base::MemoryCoordinatorClient {
void SetClockForTesting(std::unique_ptr<base::Clock> clock);
+ void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd) const;
+
private:
// base::MemoryCoordinatorClient implementation:
void OnMemoryStateChange(base::MemoryState state) override;

Powered by Google App Engine
This is Rietveld 408576698