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

Unified Diff: net/base/socket_performance_watcher.cc

Issue 1672513002: Expose packet loss counts from QUIC to NetworkQualityEstimator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed bengr comments Created 4 years, 10 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/base/socket_performance_watcher.cc
diff --git a/net/base/socket_performance_watcher.cc b/net/base/socket_performance_watcher.cc
index aa0dab3b03c9476a8d099bde13e15e9b65668850..7f5aa8c2c74cfd1434ee12d6b567cf0d415b74c4 100644
--- a/net/base/socket_performance_watcher.cc
+++ b/net/base/socket_performance_watcher.cc
@@ -31,4 +31,13 @@ void SocketPerformanceWatcher::OnUpdatedRTTAvailable(
socket_performance_watcher_factory_->OnUpdatedRTTAvailable(protocol_, rtt);
}
+void SocketPerformanceWatcher::OnUpdatedPacketCountAvailable(
+ uint64_t num_packets_lost,
+ uint64_t num_packets_received_in_order,
+ uint64_t num_packets_received_not_in_order) const {
+ socket_performance_watcher_factory_->OnUpdatedPacketCountAvailable(
+ protocol_, num_packets_lost, num_packets_received_in_order,
+ num_packets_received_not_in_order);
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698