Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: net/quic/core/congestion_control/pacing_sender.cc

Issue 2222093002: Add GetDebugState() in SendAlgorithmInterface(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129015386
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/quic/core/congestion_control/pacing_sender.h ('k') | net/quic/core/congestion_control/send_algorithm_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698