summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_connection_logger.h
diff options
context:
space:
mode:
authorrtenneti <rtenneti@chromium.org>2014-10-14 12:55:00 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-14 19:55:31 +0000
commita99a91905c0c19a8c47545b63925283c17be24b5 (patch)
tree85fb3de9ac5fcdb14217ac90bddefb2314aeca28 /net/quic/quic_connection_logger.h
parentdec63a4f2020b2ead04b2b57455a3da888b3a831 (diff)
downloadchromium_src-a99a91905c0c19a8c47545b63925283c17be24b5.zip
chromium_src-a99a91905c0c19a8c47545b63925283c17be24b5.tar.gz
chromium_src-a99a91905c0c19a8c47545b63925283c17be24b5.tar.bz2
QUIC - add UMA histograms to track how often either connection or
streams are blocked when a PING frame is sent. The above should give us some better insight into whether flow control fixes have fixed all the flow control cases, and/or if we break something in the future. R=rch@chromium.org,asvitkine@chromium.org Review URL: https://codereview.chromium.org/655683003 Cr-Commit-Position: refs/heads/master@{#299529}
Diffstat (limited to 'net/quic/quic_connection_logger.h')
-rw-r--r--net/quic/quic_connection_logger.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/quic/quic_connection_logger.h b/net/quic/quic_connection_logger.h
index 2d32b46..c714e3b 100644
--- a/net/quic/quic_connection_logger.h
+++ b/net/quic/quic_connection_logger.h
@@ -12,6 +12,7 @@
#include "net/base/network_change_notifier.h"
#include "net/quic/quic_connection.h"
#include "net/quic/quic_protocol.h"
+#include "net/quic/quic_session.h"
namespace net {
namespace test {
@@ -26,7 +27,7 @@ class CertVerifyResult;
class NET_EXPORT_PRIVATE QuicConnectionLogger
: public QuicConnectionDebugVisitor {
public:
- explicit QuicConnectionLogger(const BoundNetLog& net_log);
+ QuicConnectionLogger(QuicSession* session, const BoundNetLog& net_log);
virtual ~QuicConnectionLogger();
@@ -119,6 +120,7 @@ class NET_EXPORT_PRIVATE QuicConnectionLogger
void RecordLossHistograms() const;
BoundNetLog net_log_;
+ QuicSession* session_; // Unowned.
// The last packet sequence number received.
QuicPacketSequenceNumber last_received_packet_sequence_number_;
// The size of the most recently received packet.