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

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

Issue 1304833006: relnote: Close the QUIC connection when a packet is about to be sent out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Deprecate_quic_dont_write_when_flow_unblocked_101389540
Patch Set: Created 5 years, 3 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/quic_flags.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 bool using_pacing() const { return using_pacing_; } 221 bool using_pacing() const { return using_pacing_; }
222 222
223 void set_debug_delegate(DebugDelegate* debug_delegate) { 223 void set_debug_delegate(DebugDelegate* debug_delegate) {
224 debug_delegate_ = debug_delegate; 224 debug_delegate_ = debug_delegate;
225 } 225 }
226 226
227 QuicPacketNumber largest_observed() const { 227 QuicPacketNumber largest_observed() const {
228 return unacked_packets_.largest_observed(); 228 return unacked_packets_.largest_observed();
229 } 229 }
230 230
231 QuicPacketNumber least_packet_awaited_by_peer() { 231 QuicPacketNumber largest_sent_packet() const {
232 return unacked_packets_.largest_sent_packet();
233 }
234
235 QuicPacketNumber least_packet_awaited_by_peer() const {
232 return least_packet_awaited_by_peer_; 236 return least_packet_awaited_by_peer_;
233 } 237 }
234 238
235 void set_network_change_visitor(NetworkChangeVisitor* visitor) { 239 void set_network_change_visitor(NetworkChangeVisitor* visitor) {
236 DCHECK(!network_change_visitor_); 240 DCHECK(!network_change_visitor_);
237 DCHECK(visitor); 241 DCHECK(visitor);
238 network_change_visitor_ = visitor; 242 network_change_visitor_ = visitor;
239 } 243 }
240 244
241 // Used in Chromium, but not in the server. 245 // Used in Chromium, but not in the server.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Records bandwidth from server to client in normal operation, over periods 407 // Records bandwidth from server to client in normal operation, over periods
404 // of time with no loss events. 408 // of time with no loss events.
405 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 409 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
406 410
407 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 411 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
408 }; 412 };
409 413
410 } // namespace net 414 } // namespace net
411 415
412 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 416 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698