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

Unified Diff: net/quic/quic_connection_logger.h

Issue 1025573002: QUIC - disable QUIC if packet loss rate is bad for a connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable QUIC by port Created 5 years, 9 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/quic_connection_logger.h
diff --git a/net/quic/quic_connection_logger.h b/net/quic/quic_connection_logger.h
index ec295b68fd3e15ecb4fc056263e3e1e18150f1ab..2ca9786f4a957be71c64c2bd0f9ea925ea05937d 100644
--- a/net/quic/quic_connection_logger.h
+++ b/net/quic/quic_connection_logger.h
@@ -77,6 +77,9 @@ class NET_EXPORT_PRIVATE QuicConnectionLogger
int num_duplicate_frames_received);
void OnCertificateVerified(const CertVerifyResult& result);
+ // Returns connection's overall packet loss rate in fraction.
+ float ReceivedPacketLossRate() const;
+
private:
friend class test::QuicConnectionLoggerPeer;

Powered by Google App Engine
This is Rietveld 408576698