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

Unified Diff: net/quic/core/quic_multipath_sent_packet_manager.cc

Issue 2229023002: Track when QUIC connections are application limited. Protected by quic_enable_app_limited_check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129327247
Patch Set: git pull upper stream Created 4 years, 4 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/core/quic_multipath_sent_packet_manager.cc
diff --git a/net/quic/core/quic_multipath_sent_packet_manager.cc b/net/quic/core/quic_multipath_sent_packet_manager.cc
index ec3bb64f214ac1701e3ae1905f00e46ce2dffa95..0800a6ae4c82f92aeff71919d8ed64a9387dbd58 100644
--- a/net/quic/core/quic_multipath_sent_packet_manager.cc
+++ b/net/quic/core/quic_multipath_sent_packet_manager.cc
@@ -517,4 +517,14 @@ void QuicMultipathSentPacketManager::OnUnrecoverablePathError(
ConnectionCloseSource::FROM_SELF);
}
+void QuicMultipathSentPacketManager::OnApplicationLimited() {
+ for (PathSentPacketManagerInfo& path_manager_info : path_managers_info_) {
+ if (path_manager_info.manager == nullptr ||
+ path_manager_info.state != ACTIVE) {
+ continue;
+ }
+ path_manager_info.manager->OnApplicationLimited();
+ }
+}
+
} // namespace net
« no previous file with comments | « net/quic/core/quic_multipath_sent_packet_manager.h ('k') | net/quic/core/quic_multipath_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698