| 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/core/congestion_control/pacing_sender.h" | 5 #include "net/quic/core/congestion_control/pacing_sender.h" |
| 6 | 6 |
| 7 #include <string> |
| 8 |
| 7 #include "net/quic/core/quic_flags.h" | 9 #include "net/quic/core/quic_flags.h" |
| 8 | 10 |
| 9 using std::min; | 11 using std::min; |
| 10 | 12 |
| 11 namespace net { | 13 namespace net { |
| 12 namespace { | 14 namespace { |
| 13 | 15 |
| 14 // The estimated system alarm granularity. | 16 // The estimated system alarm granularity. |
| 15 static const QuicTime::Delta kAlarmGranularity = | 17 static const QuicTime::Delta kAlarmGranularity = |
| 16 QuicTime::Delta::FromMilliseconds(1); | 18 QuicTime::Delta::FromMilliseconds(1); |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 } | 203 } |
| 202 | 204 |
| 203 QuicByteCount PacingSender::GetSlowStartThreshold() const { | 205 QuicByteCount PacingSender::GetSlowStartThreshold() const { |
| 204 return sender_->GetSlowStartThreshold(); | 206 return sender_->GetSlowStartThreshold(); |
| 205 } | 207 } |
| 206 | 208 |
| 207 CongestionControlType PacingSender::GetCongestionControlType() const { | 209 CongestionControlType PacingSender::GetCongestionControlType() const { |
| 208 return sender_->GetCongestionControlType(); | 210 return sender_->GetCongestionControlType(); |
| 209 } | 211 } |
| 210 | 212 |
| 213 std::string PacingSender::GetDebugState() const { |
| 214 return sender_->GetDebugState(); |
| 215 } |
| 216 |
| 211 } // namespace net | 217 } // namespace net |
| OLD | NEW |