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

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

Issue 2540143003: Allow congestion controller state to be accessed by the debug visitors. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « net/quic/core/quic_multipath_sent_packet_manager.h ('k') | net/quic/core/quic_sent_packet_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12ce5dfc45c11b1ac1e47e921956e1fa545cdac8..87010370a6b89130e5bbbac9d1321043ba5cc69b 100644
--- a/net/quic/core/quic_multipath_sent_packet_manager.cc
+++ b/net/quic/core/quic_multipath_sent_packet_manager.cc
@@ -521,4 +521,14 @@ void QuicMultipathSentPacketManager::OnApplicationLimited() {
}
}
+const SendAlgorithmInterface* QuicMultipathSentPacketManager::GetSendAlgorithm()
+ const {
+ QuicSentPacketManagerInterface* path_manager =
+ MaybeGetSentPacketManagerForActivePath(kDefaultPathId);
+ if (path_manager == nullptr) {
+ return nullptr;
+ }
+ return path_manager->GetSendAlgorithm();
+}
+
} // namespace net
« no previous file with comments | « net/quic/core/quic_multipath_sent_packet_manager.h ('k') | net/quic/core/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698