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

Unified Diff: net/quic/core/quic_sent_packet_manager_interface.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage 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_sent_packet_manager.cc ('k') | net/quic/core/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_sent_packet_manager_interface.h
diff --git a/net/quic/core/quic_sent_packet_manager_interface.h b/net/quic/core/quic_sent_packet_manager_interface.h
index 498f5cdc02629068ae8bddd1f31a57c8d9f5e2c7..b1860e4d008f3a1b77df2ce546947d6e5e836224 100644
--- a/net/quic/core/quic_sent_packet_manager_interface.h
+++ b/net/quic/core/quic_sent_packet_manager_interface.h
@@ -7,7 +7,9 @@
#include "base/macros.h"
#include "net/base/net_export.h"
-#include "net/quic/core/quic_protocol.h"
+#include "net/quic/core/congestion_control/send_algorithm_interface.h"
+#include "net/quic/core/quic_packets.h"
+#include "net/quic/core/quic_pending_retransmission.h"
#include "net/quic/core/quic_sustained_bandwidth_recorder.h"
namespace net {
@@ -98,7 +100,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface {
virtual bool HasPendingRetransmissions() const = 0;
- virtual PendingRetransmission NextPendingRetransmission() = 0;
+ virtual QuicPendingRetransmission NextPendingRetransmission() = 0;
// Returns true if the default path has unacked packets.
virtual bool HasUnackedPackets() const = 0;
@@ -188,6 +190,10 @@ class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface {
// Signals to the congestion controller that the connection has no outstanding
// data to send.
virtual void OnApplicationLimited() = 0;
+
+ // Returns the currently used congestion control algorithm. The manager
+ // retains the ownership of the algorithm.
+ virtual const SendAlgorithmInterface* GetSendAlgorithm() const = 0;
};
} // namespace net
« no previous file with comments | « net/quic/core/quic_sent_packet_manager.cc ('k') | net/quic/core/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698