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

Unified Diff: net/quic/congestion_control/inter_arrival_sender.h

Issue 15937012: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small bug fixes Created 7 years, 7 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/congestion_control/inter_arrival_sender.h
diff --git a/net/quic/congestion_control/inter_arrival_sender.h b/net/quic/congestion_control/inter_arrival_sender.h
index afcafe85809373b0caffdc0c0903fd7032ff5058..7997d0d1a028f77a3154d462d5aaf66a5abd4fea 100644
--- a/net/quic/congestion_control/inter_arrival_sender.h
+++ b/net/quic/congestion_control/inter_arrival_sender.h
@@ -27,11 +27,14 @@ class NET_EXPORT_PRIVATE InterArrivalSender : public SendAlgorithmInterface {
explicit InterArrivalSender(const QuicClock* clock);
virtual ~InterArrivalSender();
+ static QuicBandwidth CalculateSentBandwidth(
+ const SendAlgorithmInterface::SentPacketsMap& sent_packets_map,
+ QuicTime feedback_receive_time);
+
// Start implementation of SendAlgorithmInterface.
virtual void OnIncomingQuicCongestionFeedbackFrame(
const QuicCongestionFeedbackFrame& feedback,
QuicTime feedback_receive_time,
- QuicBandwidth sent_bandwidth,
const SentPacketsMap& sent_packets) OVERRIDE;
virtual void OnIncomingAck(QuicPacketSequenceNumber acked_sequence_number,

Powered by Google App Engine
This is Rietveld 408576698