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

Side by Side Diff: net/quic/core/quic_sent_packet_manager.h

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 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 QuicByteCount max_packet_length) const override; 173 QuicByteCount max_packet_length) const override;
174 174
175 // Returns the size of the current congestion window size in bytes. 175 // Returns the size of the current congestion window size in bytes.
176 QuicByteCount GetCongestionWindowInBytes() const override; 176 QuicByteCount GetCongestionWindowInBytes() const override;
177 177
178 // Returns the size of the slow start congestion window in nume of 1460 byte 178 // Returns the size of the slow start congestion window in nume of 1460 byte
179 // TCP segments, aka ssthresh. Some send algorithms do not define a slow 179 // TCP segments, aka ssthresh. Some send algorithms do not define a slow
180 // start threshold and will return 0. 180 // start threshold and will return 0.
181 QuicPacketCount GetSlowStartThresholdInTcpMss() const override; 181 QuicPacketCount GetSlowStartThresholdInTcpMss() const override;
182 182
183 // Returns debugging information about the state of the congestion controller.
184 std::string GetDebugState() const override;
185
183 // No longer retransmit data for |stream_id|. 186 // No longer retransmit data for |stream_id|.
184 void CancelRetransmissionsForStream(QuicStreamId stream_id) override; 187 void CancelRetransmissionsForStream(QuicStreamId stream_id) override;
185 188
186 // Called when peer address changes and the connection migrates. 189 // Called when peer address changes and the connection migrates.
187 void OnConnectionMigration(QuicPathId, PeerAddressChangeType type) override; 190 void OnConnectionMigration(QuicPathId, PeerAddressChangeType type) override;
188 191
189 bool IsHandshakeConfirmed() const override; 192 bool IsHandshakeConfirmed() const override;
190 193
191 void SetDebugDelegate(DebugDelegate* debug_delegate) override; 194 void SetDebugDelegate(DebugDelegate* debug_delegate) override;
192 195
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 // Records bandwidth from server to client in normal operation, over periods 404 // Records bandwidth from server to client in normal operation, over periods
402 // of time with no loss events. 405 // of time with no loss events.
403 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 406 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
404 407
405 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 408 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
406 }; 409 };
407 410
408 } // namespace net 411 } // namespace net
409 412
410 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 413 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_multipath_sent_packet_manager.cc ('k') | net/quic/core/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698