OLD | NEW |
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 #include "net/quic/congestion_control/pacing_sender.h" | 5 #include "net/quic/congestion_control/pacing_sender.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 PacingSender::PacingSender(SendAlgorithmInterface* sender, | 9 PacingSender::PacingSender(SendAlgorithmInterface* sender, |
10 QuicTime::Delta alarm_granularity) | 10 QuicTime::Delta alarm_granularity) |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 } | 124 } |
125 | 125 |
126 DVLOG(1) << "Sending packet now"; | 126 DVLOG(1) << "Sending packet now"; |
127 return QuicTime::Delta::Zero(); | 127 return QuicTime::Delta::Zero(); |
128 } | 128 } |
129 | 129 |
130 QuicBandwidth PacingSender::BandwidthEstimate() const { | 130 QuicBandwidth PacingSender::BandwidthEstimate() const { |
131 return sender_->BandwidthEstimate(); | 131 return sender_->BandwidthEstimate(); |
132 } | 132 } |
133 | 133 |
| 134 bool PacingSender::HasReliableBandwidthEstimate() const { |
| 135 return sender_->HasReliableBandwidthEstimate(); |
| 136 } |
| 137 |
134 QuicTime::Delta PacingSender::RetransmissionDelay() const { | 138 QuicTime::Delta PacingSender::RetransmissionDelay() const { |
135 return sender_->RetransmissionDelay(); | 139 return sender_->RetransmissionDelay(); |
136 } | 140 } |
137 | 141 |
138 QuicByteCount PacingSender::GetCongestionWindow() const { | 142 QuicByteCount PacingSender::GetCongestionWindow() const { |
139 return sender_->GetCongestionWindow(); | 143 return sender_->GetCongestionWindow(); |
140 } | 144 } |
141 | 145 |
142 } // namespace net | 146 } // namespace net |
OLD | NEW |