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

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 when there is high packet loss rate 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..bc57b0097b93875faa853a4aad0a885c7cbe1cb9 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);
+ // Return connection's overall packet loss rate in 1/10th of percent.
Ryan Hamilton 2015/03/23 02:31:06 Since it's a float, I wonder if this should simply
ramant (doing other things) 2015/03/24 03:07:22 Changed it to return a fraction. Done.
+ float PacketLossRate() const;
+
private:
friend class test::QuicConnectionLoggerPeer;

Powered by Google App Engine
This is Rietveld 408576698