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/core/congestion_control/pacing_sender.h" |
6 | 6 |
7 #include "net/quic/quic_flags.h" | 7 #include "net/quic/core/quic_flags.h" |
8 | 8 |
9 using std::min; | 9 using std::min; |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 PacingSender::PacingSender(SendAlgorithmInterface* sender, | 13 PacingSender::PacingSender(SendAlgorithmInterface* sender, |
14 QuicTime::Delta alarm_granularity, | 14 QuicTime::Delta alarm_granularity, |
15 uint32_t initial_packet_burst) | 15 uint32_t initial_packet_burst) |
16 : sender_(sender), | 16 : sender_(sender), |
17 alarm_granularity_(alarm_granularity), | 17 alarm_granularity_(alarm_granularity), |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 QuicByteCount PacingSender::GetSlowStartThreshold() const { | 183 QuicByteCount PacingSender::GetSlowStartThreshold() const { |
184 return sender_->GetSlowStartThreshold(); | 184 return sender_->GetSlowStartThreshold(); |
185 } | 185 } |
186 | 186 |
187 CongestionControlType PacingSender::GetCongestionControlType() const { | 187 CongestionControlType PacingSender::GetCongestionControlType() const { |
188 return sender_->GetCongestionControlType(); | 188 return sender_->GetCongestionControlType(); |
189 } | 189 } |
190 | 190 |
191 } // namespace net | 191 } // namespace net |
OLD | NEW |