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

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

Issue 125253004: Simplify RTO interaction between the QUIC sent packet manager and the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_SENDER_H_ 5 #ifndef NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_SENDER_H_
6 #define NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_SENDER_H_ 6 #define NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_SENDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 QuicByteCount acked_bytes, 42 QuicByteCount acked_bytes,
43 QuicTime::Delta rtt) OVERRIDE; 43 QuicTime::Delta rtt) OVERRIDE;
44 virtual void OnPacketLost(QuicPacketSequenceNumber sequence_number, 44 virtual void OnPacketLost(QuicPacketSequenceNumber sequence_number,
45 QuicTime ack_receive_time) OVERRIDE; 45 QuicTime ack_receive_time) OVERRIDE;
46 virtual bool OnPacketSent( 46 virtual bool OnPacketSent(
47 QuicTime sent_time, 47 QuicTime sent_time,
48 QuicPacketSequenceNumber sequence_number, 48 QuicPacketSequenceNumber sequence_number,
49 QuicByteCount bytes, 49 QuicByteCount bytes,
50 TransmissionType transmission_type, 50 TransmissionType transmission_type,
51 HasRetransmittableData has_retransmittable_data) OVERRIDE; 51 HasRetransmittableData has_retransmittable_data) OVERRIDE;
52 virtual void OnRetransmissionTimeout() OVERRIDE; 52 virtual void OnRetransmissionTimeout(bool packets_retransmitted) OVERRIDE;
53 virtual void OnPacketAbandoned(QuicPacketSequenceNumber sequence_number, 53 virtual void OnPacketAbandoned(QuicPacketSequenceNumber sequence_number,
54 QuicByteCount abandoned_bytes) OVERRIDE; 54 QuicByteCount abandoned_bytes) OVERRIDE;
55 virtual QuicTime::Delta TimeUntilSend( 55 virtual QuicTime::Delta TimeUntilSend(
56 QuicTime now, 56 QuicTime now,
57 TransmissionType transmission_type, 57 TransmissionType transmission_type,
58 HasRetransmittableData has_retransmittable_data, 58 HasRetransmittableData has_retransmittable_data,
59 IsHandshake handshake) OVERRIDE; 59 IsHandshake handshake) OVERRIDE;
60 virtual QuicBandwidth BandwidthEstimate() const OVERRIDE; 60 virtual QuicBandwidth BandwidthEstimate() const OVERRIDE;
61 virtual QuicTime::Delta SmoothedRtt() const OVERRIDE; 61 virtual QuicTime::Delta SmoothedRtt() const OVERRIDE;
62 virtual QuicTime::Delta RetransmissionDelay() const OVERRIDE; 62 virtual QuicTime::Delta RetransmissionDelay() const OVERRIDE;
(...skipping 30 matching lines...) Expand all
93 BandwidthUsage bandwidth_usage_state_; 93 BandwidthUsage bandwidth_usage_state_;
94 QuicTime back_down_time_; // Time when we decided to back down. 94 QuicTime back_down_time_; // Time when we decided to back down.
95 QuicBandwidth back_down_bandwidth_; // Bandwidth before backing down. 95 QuicBandwidth back_down_bandwidth_; // Bandwidth before backing down.
96 QuicTime::Delta back_down_congestion_delay_; // Delay when backing down. 96 QuicTime::Delta back_down_congestion_delay_; // Delay when backing down.
97 97
98 DISALLOW_COPY_AND_ASSIGN(InterArrivalSender); 98 DISALLOW_COPY_AND_ASSIGN(InterArrivalSender);
99 }; 99 };
100 100
101 } // namespace net 101 } // namespace net
102 #endif // NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_SENDER_H_ 102 #endif // NET_QUIC_CONGESTION_CONTROL_INTER_ARRIVAL_SENDER_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/inter_arrival_probe.cc ('k') | net/quic/congestion_control/inter_arrival_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698