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

Side by Side Diff: net/quic/quic_protocol.cc

Issue 572703003: Minor change to QUIC's retransmission to not link old retransmissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge_75263809
Patch Set: Created 6 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_protocol.h ('k') | net/quic/quic_sent_packet_manager.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/quic_protocol.h" 5 #include "net/quic/quic_protocol.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/quic_utils.h" 8 #include "net/quic/quic_utils.h"
9 9
10 using base::StringPiece; 10 using base::StringPiece;
(...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 } 712 }
713 713
714 TransmissionInfo::TransmissionInfo() 714 TransmissionInfo::TransmissionInfo()
715 : retransmittable_frames(NULL), 715 : retransmittable_frames(NULL),
716 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER), 716 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER),
717 sent_time(QuicTime::Zero()), 717 sent_time(QuicTime::Zero()),
718 bytes_sent(0), 718 bytes_sent(0),
719 nack_count(0), 719 nack_count(0),
720 transmission_type(NOT_RETRANSMISSION), 720 transmission_type(NOT_RETRANSMISSION),
721 all_transmissions(NULL), 721 all_transmissions(NULL),
722 in_flight(false) {} 722 in_flight(false),
723 is_unackable(false) {}
723 724
724 TransmissionInfo::TransmissionInfo( 725 TransmissionInfo::TransmissionInfo(
725 RetransmittableFrames* retransmittable_frames, 726 RetransmittableFrames* retransmittable_frames,
726 QuicSequenceNumberLength sequence_number_length) 727 QuicSequenceNumberLength sequence_number_length)
727 : retransmittable_frames(retransmittable_frames), 728 : retransmittable_frames(retransmittable_frames),
728 sequence_number_length(sequence_number_length), 729 sequence_number_length(sequence_number_length),
729 sent_time(QuicTime::Zero()), 730 sent_time(QuicTime::Zero()),
730 bytes_sent(0), 731 bytes_sent(0),
731 nack_count(0), 732 nack_count(0),
732 transmission_type(NOT_RETRANSMISSION), 733 transmission_type(NOT_RETRANSMISSION),
733 all_transmissions(NULL), 734 all_transmissions(NULL),
734 in_flight(false) {} 735 in_flight(false),
736 is_unackable(false) {}
735 737
736 TransmissionInfo::TransmissionInfo( 738 TransmissionInfo::TransmissionInfo(
737 RetransmittableFrames* retransmittable_frames, 739 RetransmittableFrames* retransmittable_frames,
738 QuicSequenceNumberLength sequence_number_length, 740 QuicSequenceNumberLength sequence_number_length,
739 TransmissionType transmission_type, 741 TransmissionType transmission_type,
740 SequenceNumberList* all_transmissions) 742 SequenceNumberList* all_transmissions)
741 : retransmittable_frames(retransmittable_frames), 743 : retransmittable_frames(retransmittable_frames),
742 sequence_number_length(sequence_number_length), 744 sequence_number_length(sequence_number_length),
743 sent_time(QuicTime::Zero()), 745 sent_time(QuicTime::Zero()),
744 bytes_sent(0), 746 bytes_sent(0),
745 nack_count(0), 747 nack_count(0),
746 transmission_type(transmission_type), 748 transmission_type(transmission_type),
747 all_transmissions(all_transmissions), 749 all_transmissions(all_transmissions),
748 in_flight(false) {} 750 in_flight(false),
751 is_unackable(false) {}
749 752
750 } // namespace net 753 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698