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

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

Issue 335463009: Clarifying comment in quic_sent_packet_manager.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // maintains the currently active notifiers. 283 // maintains the currently active notifiers.
284 AckNotifierManager ack_notifier_manager_; 284 AckNotifierManager ack_notifier_manager_;
285 285
286 const QuicClock* clock_; 286 const QuicClock* clock_;
287 QuicConnectionStats* stats_; 287 QuicConnectionStats* stats_;
288 DebugDelegate* debug_delegate_; 288 DebugDelegate* debug_delegate_;
289 RttStats rtt_stats_; 289 RttStats rtt_stats_;
290 scoped_ptr<SendAlgorithmInterface> send_algorithm_; 290 scoped_ptr<SendAlgorithmInterface> send_algorithm_;
291 scoped_ptr<LossDetectionInterface> loss_algorithm_; 291 scoped_ptr<LossDetectionInterface> loss_algorithm_;
292 292
293 QuicPacketSequenceNumber largest_observed_; // From the most recent ACK. 293 // The largest sequence number which we have sent and received an ACK for
294 // from the peer.
295 QuicPacketSequenceNumber largest_observed_;
296
294 // Tracks the first RTO packet. If any packet before that packet gets acked, 297 // Tracks the first RTO packet. If any packet before that packet gets acked,
295 // it indicates the RTO was spurious and should be reversed(F-RTO). 298 // it indicates the RTO was spurious and should be reversed(F-RTO).
296 QuicPacketSequenceNumber first_rto_transmission_; 299 QuicPacketSequenceNumber first_rto_transmission_;
297 // Number of times the RTO timer has fired in a row without receiving an ack. 300 // Number of times the RTO timer has fired in a row without receiving an ack.
298 size_t consecutive_rto_count_; 301 size_t consecutive_rto_count_;
299 // Number of times the tail loss probe has been sent. 302 // Number of times the tail loss probe has been sent.
300 size_t consecutive_tlp_count_; 303 size_t consecutive_tlp_count_;
301 // Number of times the crypto handshake has been retransmitted. 304 // Number of times the crypto handshake has been retransmitted.
302 size_t consecutive_crypto_retransmission_count_; 305 size_t consecutive_crypto_retransmission_count_;
303 // Whether a tlp packet can be sent even if the send algorithm says not to. 306 // Whether a tlp packet can be sent even if the send algorithm says not to.
304 bool pending_tlp_transmission_; 307 bool pending_tlp_transmission_;
305 // Maximum number of tail loss probes to send before firing an RTO. 308 // Maximum number of tail loss probes to send before firing an RTO.
306 size_t max_tail_loss_probes_; 309 size_t max_tail_loss_probes_;
307 bool using_pacing_; 310 bool using_pacing_;
308 311
309 // Sets of packets acked and lost as a result of the last congestion event. 312 // Sets of packets acked and lost as a result of the last congestion event.
310 SendAlgorithmInterface::CongestionMap packets_acked_; 313 SendAlgorithmInterface::CongestionMap packets_acked_;
311 SendAlgorithmInterface::CongestionMap packets_lost_; 314 SendAlgorithmInterface::CongestionMap packets_lost_;
312 315
313 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 316 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
314 }; 317 };
315 318
316 } // namespace net 319 } // namespace net
317 320
318 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 321 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698