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

Unified Diff: net/ssl/ssl_client_session_cache.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/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..fd825ef05580a78f5fe074740150286c3ef9eb30 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);
ssid 2016/12/02 21:36:35 I wonder if it is better to add a MemoryDumpProvid
xunjieli 2016/12/02 22:01:23 There is an effort underway to tie it with a URLRe
+
private:
// base::MemoryCoordinatorClient implementation:
void OnMemoryStateChange(base::MemoryState state) override;

Powered by Google App Engine
This is Rietveld 408576698