| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 414 |
| 416 // True if the AckNotifierManager should not be called. | 415 // True if the AckNotifierManager should not be called. |
| 417 bool no_acknotifier_; | 416 bool no_acknotifier_; |
| 418 | 417 |
| 419 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 418 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
| 420 }; | 419 }; |
| 421 | 420 |
| 422 } // namespace net | 421 } // namespace net |
| 423 | 422 |
| 424 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 423 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
| OLD | NEW |