| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_QUIC_SENT_PACKET_MANAGER_H_ | 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
| 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 QuicPacketNumber packet_number; | 87 QuicPacketNumber packet_number; |
| 88 TransmissionType transmission_type; | 88 TransmissionType transmission_type; |
| 89 const RetransmittableFrames& retransmittable_frames; | 89 const RetransmittableFrames& retransmittable_frames; |
| 90 QuicPacketNumberLength packet_number_length; | 90 QuicPacketNumberLength packet_number_length; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 QuicSentPacketManager(Perspective perspective, | 93 QuicSentPacketManager(Perspective perspective, |
| 94 const QuicClock* clock, | 94 const QuicClock* clock, |
| 95 QuicConnectionStats* stats, | 95 QuicConnectionStats* stats, |
| 96 CongestionControlType congestion_control_type, | 96 CongestionControlType congestion_control_type, |
| 97 LossDetectionType loss_type, | 97 LossDetectionType loss_type); |
| 98 bool is_secure); | |
| 99 virtual ~QuicSentPacketManager(); | 98 virtual ~QuicSentPacketManager(); |
| 100 | 99 |
| 101 virtual void SetFromConfig(const QuicConfig& config); | 100 virtual void SetFromConfig(const QuicConfig& config); |
| 102 | 101 |
| 103 // Pass the CachedNetworkParameters to the send algorithm. | 102 // Pass the CachedNetworkParameters to the send algorithm. |
| 104 void ResumeConnectionState( | 103 void ResumeConnectionState( |
| 105 const CachedNetworkParameters& cached_network_params, | 104 const CachedNetworkParameters& cached_network_params, |
| 106 bool max_bandwidth_resumption); | 105 bool max_bandwidth_resumption); |
| 107 | 106 |
| 108 void SetNumOpenStreams(size_t num_streams); | 107 void SetNumOpenStreams(size_t num_streams); |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 // Records bandwidth from server to client in normal operation, over periods | 406 // Records bandwidth from server to client in normal operation, over periods |
| 408 // of time with no loss events. | 407 // of time with no loss events. |
| 409 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; | 408 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; |
| 410 | 409 |
| 411 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 410 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
| 412 }; | 411 }; |
| 413 | 412 |
| 414 } // namespace net | 413 } // namespace net |
| 415 | 414 |
| 416 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 415 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
| OLD | NEW |