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

Unified Diff: net/quic/chromium/quic_chromium_packet_reader.h

Issue 2650943007: Track QuicChromiumClientSession in net/ MemoryDumpProvider (Closed)
Patch Set: address ssid comments 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/quic/chromium/quic_chromium_packet_reader.h
diff --git a/net/quic/chromium/quic_chromium_packet_reader.h b/net/quic/chromium/quic_chromium_packet_reader.h
index a58c623ba9a9c859ad5d0c00a466c7c9ef812b9d..8e53cd7c0d030f80554559c35be4d12799a54096 100644
--- a/net/quic/chromium/quic_chromium_packet_reader.h
+++ b/net/quic/chromium/quic_chromium_packet_reader.h
@@ -49,6 +49,9 @@ class NET_EXPORT_PRIVATE QuicChromiumPacketReader {
// and passing the data along to the QuicConnection.
void StartReading();
+ // Returns the estimated memory usage in bytes.
+ size_t EstimateMemoryUsage() const;
+
private:
// A completion callback invoked when a read completes.
void OnReadComplete(int result);

Powered by Google App Engine
This is Rietveld 408576698