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

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: 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..acb6de9dfd340c397d908402265d3c036b1ccb1b 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.
+ int PacketLossRate() const;
+
private:
friend class test::QuicConnectionLoggerPeer;

Powered by Google App Engine
This is Rietveld 408576698