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

Unified Diff: net/spdy/spdy_write_queue.h

Issue 2665283003: Improve memory estimate of SpdySessionPool in net/ MemoryDumpProvider. (Closed)
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
Index: net/spdy/spdy_write_queue.h
diff --git a/net/spdy/spdy_write_queue.h b/net/spdy/spdy_write_queue.h
index acf6b4c30dd9aee7e09514eb02b940a5f1d8f32d..5e6d8ac1fbdebfba20cc4a1b1e4e83b07b0228b6 100644
--- a/net/spdy/spdy_write_queue.h
+++ b/net/spdy/spdy_write_queue.h
@@ -59,6 +59,9 @@ class NET_EXPORT_PRIVATE SpdyWriteQueue {
// Removes all pending writes.
void Clear();
+ // Returns the estimate of dynamically allocated memory in bytes.
+ size_t EstimateMemoryUsage() const;
+
private:
// A struct holding a frame producer and its associated stream.
struct PendingWrite {

Powered by Google App Engine
This is Rietveld 408576698