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

Unified Diff: net/ssl/ssl_client_session_cache.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 | « net/socket/stream_socket.h ('k') | net/ssl/ssl_client_session_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8133010cf13f6db19c9ab1339bcf6c2e657036e2 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,10 @@ class NET_EXPORT SSLClientSessionCache : public base::MemoryCoordinatorClient {
void SetClockForTesting(std::unique_ptr<base::Clock> clock);
+ // Dumps memory allocation stats. |pmd| is the ProcessMemoryDump of the
+ // browser process.
+ void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd);
+
private:
// base::MemoryCoordinatorClient implementation:
void OnMemoryStateChange(base::MemoryState state) override;
« no previous file with comments | « net/socket/stream_socket.h ('k') | net/ssl/ssl_client_session_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698