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

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

Issue 12334063: Land recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more EXPECT_FALSE Created 7 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
« no previous file with comments | « net/quic/congestion_control/cubic.cc ('k') | net/quic/congestion_control/fix_rate_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/fix_rate_sender.h
diff --git a/net/quic/congestion_control/fix_rate_sender.h b/net/quic/congestion_control/fix_rate_sender.h
index 4e864b7cd9e41c82e1ccb18395546e63c8992861..336352f8af622ca7a9d929f47009907953e7c311 100644
--- a/net/quic/congestion_control/fix_rate_sender.h
+++ b/net/quic/congestion_control/fix_rate_sender.h
@@ -18,33 +18,31 @@
namespace net {
-namespace test {
-class FixRateSenderPeer;
-} // namespace test
-
class NET_EXPORT_PRIVATE FixRateSender : public SendAlgorithmInterface {
+
public:
explicit FixRateSender(const QuicClock* clock);
// 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,
QuicByteCount acked_bytes,
QuicTime::Delta rtt) OVERRIDE;
- virtual void OnIncomingLoss(int number_of_lost_packets) OVERRIDE;
- virtual void SentPacket(QuicPacketSequenceNumber equence_number,
+ virtual void OnIncomingLoss(QuicTime ack_receive_time) OVERRIDE;
+ virtual void SentPacket(QuicTime sent_time,
+ QuicPacketSequenceNumber equence_number,
QuicByteCount bytes,
bool is_retransmission) OVERRIDE;
- virtual QuicTime::Delta TimeUntilSend(bool is_retransmission) OVERRIDE;
+ virtual QuicTime::Delta TimeUntilSend(QuicTime now,
+ bool is_retransmission) OVERRIDE;
virtual QuicBandwidth BandwidthEstimate() OVERRIDE;
// End implementation of SendAlgorithmInterface.
private:
- friend class test::FixRateSenderPeer;
-
- QuicByteCount AvailableCongestionWindow();
QuicByteCount CongestionWindow();
QuicBandwidth bitrate_;
« no previous file with comments | « net/quic/congestion_control/cubic.cc ('k') | net/quic/congestion_control/fix_rate_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698