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

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

Issue 2229023002: Track when QUIC connections are application limited. Protected by quic_enable_app_limited_check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129327247
Patch Set: git pull upper stream 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
« no previous file with comments | « net/quic/core/quic_sent_packet_manager.cc ('k') | net/quic/core/quic_session_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_INTERFACE_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/quic/core/quic_protocol.h" 9 #include "net/quic/core/quic_protocol.h"
10 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" 10 #include "net/quic/core/quic_sustained_bandwidth_recorder.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 virtual void SetNetworkChangeVisitor(NetworkChangeVisitor* visitor) = 0; 179 virtual void SetNetworkChangeVisitor(NetworkChangeVisitor* visitor) = 0;
180 180
181 // Returns true if the default path is in slow start. 181 // Returns true if the default path is in slow start.
182 virtual bool InSlowStart() const = 0; 182 virtual bool InSlowStart() const = 0;
183 183
184 // These two methods return the consecutive RTO or TLP count of the default 184 // These two methods return the consecutive RTO or TLP count of the default
185 // path. 185 // path.
186 virtual size_t GetConsecutiveRtoCount() const = 0; 186 virtual size_t GetConsecutiveRtoCount() const = 0;
187 virtual size_t GetConsecutiveTlpCount() const = 0; 187 virtual size_t GetConsecutiveTlpCount() const = 0;
188
189 // Signals to the congestion controller that the connection has no outstanding
190 // data to send.
191 virtual void OnApplicationLimited() = 0;
188 }; 192 };
189 193
190 } // namespace net 194 } // namespace net
191 195
192 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ 196 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_sent_packet_manager.cc ('k') | net/quic/core/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698