Index: net/spdy/spdy_session.h |
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
index 9d17aaec5e23c07e381d8e595cde379dbe0c9455..af2ff0cd29f30c328afd64a36c2d44e6396ec47c 100644 |
--- a/net/spdy/spdy_session.h |
+++ b/net/spdy/spdy_session.h |
@@ -572,6 +572,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, FailedPing); |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, GetActivePushStream); |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, DeleteExpiredPushStreams); |
+ FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, MetricsCollectionOnPushStreams); |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ProtocolNegotiation); |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, ClearSettings); |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, AdjustRecvWindowSize); |
@@ -1051,6 +1052,12 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
// concurrency limits. |
size_t num_active_pushed_streams_; |
+ // Number of bytes that has been pushed by the server. |
+ uint64_t bytes_pushed_count_; |
+ |
+ // Number of bytes that has been pushed by the server but never claimed. |
+ uint64_t bytes_pushed_and_unclaimed_count_; |
+ |
// The write queue. |
SpdyWriteQueue write_queue_; |