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

Side by Side Diff: net/quic/congestion_control/tcp_cubic_sender.h

Issue 667763003: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // TCP cubic send side congestion algorithm, emulates the behavior of 5 // TCP cubic send side congestion algorithm, emulates the behavior of
6 // TCP cubic. 6 // TCP cubic.
7 7
8 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ 8 #ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_
9 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ 9 #define NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 QuicByteCount bytes_in_flight, 51 QuicByteCount bytes_in_flight,
52 QuicPacketSequenceNumber sequence_number, 52 QuicPacketSequenceNumber sequence_number,
53 QuicByteCount bytes, 53 QuicByteCount bytes,
54 HasRetransmittableData is_retransmittable) override; 54 HasRetransmittableData is_retransmittable) override;
55 virtual void OnRetransmissionTimeout(bool packets_retransmitted) override; 55 virtual void OnRetransmissionTimeout(bool packets_retransmitted) override;
56 virtual void RevertRetransmissionTimeout() override; 56 virtual void RevertRetransmissionTimeout() override;
57 virtual QuicTime::Delta TimeUntilSend( 57 virtual QuicTime::Delta TimeUntilSend(
58 QuicTime now, 58 QuicTime now,
59 QuicByteCount bytes_in_flight, 59 QuicByteCount bytes_in_flight,
60 HasRetransmittableData has_retransmittable_data) const override; 60 HasRetransmittableData has_retransmittable_data) const override;
61 virtual QuicBandwidth PacingRate() const override;
61 virtual QuicBandwidth BandwidthEstimate() const override; 62 virtual QuicBandwidth BandwidthEstimate() const override;
62 virtual bool HasReliableBandwidthEstimate() const override; 63 virtual bool HasReliableBandwidthEstimate() const override;
63 virtual QuicTime::Delta RetransmissionDelay() const override; 64 virtual QuicTime::Delta RetransmissionDelay() const override;
64 virtual QuicByteCount GetCongestionWindow() const override; 65 virtual QuicByteCount GetCongestionWindow() const override;
65 virtual bool InSlowStart() const override; 66 virtual bool InSlowStart() const override;
66 virtual bool InRecovery() const override; 67 virtual bool InRecovery() const override;
67 virtual QuicByteCount GetSlowStartThreshold() const override; 68 virtual QuicByteCount GetSlowStartThreshold() const override;
68 virtual CongestionControlType GetCongestionControlType() const override; 69 virtual CongestionControlType GetCongestionControlType() const override;
69 // End implementation of SendAlgorithmInterface. 70 // End implementation of SendAlgorithmInterface.
70 71
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 141
141 // Maximum number of outstanding packets for tcp. 142 // Maximum number of outstanding packets for tcp.
142 QuicTcpCongestionWindow max_tcp_congestion_window_; 143 QuicTcpCongestionWindow max_tcp_congestion_window_;
143 144
144 DISALLOW_COPY_AND_ASSIGN(TcpCubicSender); 145 DISALLOW_COPY_AND_ASSIGN(TcpCubicSender);
145 }; 146 };
146 147
147 } // namespace net 148 } // namespace net
148 149
149 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_ 150 #endif // NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/send_algorithm_interface.h ('k') | net/quic/congestion_control/tcp_cubic_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698