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

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

Issue 523813003: Revert of Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_entropy_manager.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 (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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER), 719 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER),
720 sent_time(QuicTime::Zero()), 720 sent_time(QuicTime::Zero()),
721 bytes_sent(0), 721 bytes_sent(0),
722 nack_count(0), 722 nack_count(0),
723 transmission_type(NOT_RETRANSMISSION), 723 transmission_type(NOT_RETRANSMISSION),
724 all_transmissions(NULL), 724 all_transmissions(NULL),
725 in_flight(false) {} 725 in_flight(false) {}
726 726
727 TransmissionInfo::TransmissionInfo( 727 TransmissionInfo::TransmissionInfo(
728 RetransmittableFrames* retransmittable_frames, 728 RetransmittableFrames* retransmittable_frames,
729 QuicPacketSequenceNumber sequence_number,
729 QuicSequenceNumberLength sequence_number_length) 730 QuicSequenceNumberLength sequence_number_length)
730 : retransmittable_frames(retransmittable_frames), 731 : retransmittable_frames(retransmittable_frames),
731 sequence_number_length(sequence_number_length), 732 sequence_number_length(sequence_number_length),
732 sent_time(QuicTime::Zero()), 733 sent_time(QuicTime::Zero()),
733 bytes_sent(0), 734 bytes_sent(0),
734 nack_count(0), 735 nack_count(0),
735 transmission_type(NOT_RETRANSMISSION), 736 transmission_type(NOT_RETRANSMISSION),
736 all_transmissions(NULL), 737 all_transmissions(new SequenceNumberSet),
737 in_flight(false) {} 738 in_flight(false) {
739 all_transmissions->insert(sequence_number);
740 }
738 741
739 TransmissionInfo::TransmissionInfo( 742 TransmissionInfo::TransmissionInfo(
740 RetransmittableFrames* retransmittable_frames, 743 RetransmittableFrames* retransmittable_frames,
744 QuicPacketSequenceNumber sequence_number,
741 QuicSequenceNumberLength sequence_number_length, 745 QuicSequenceNumberLength sequence_number_length,
742 TransmissionType transmission_type, 746 TransmissionType transmission_type,
743 SequenceNumberList* all_transmissions) 747 SequenceNumberSet* all_transmissions)
744 : retransmittable_frames(retransmittable_frames), 748 : retransmittable_frames(retransmittable_frames),
745 sequence_number_length(sequence_number_length), 749 sequence_number_length(sequence_number_length),
746 sent_time(QuicTime::Zero()), 750 sent_time(QuicTime::Zero()),
747 bytes_sent(0), 751 bytes_sent(0),
748 nack_count(0), 752 nack_count(0),
749 transmission_type(transmission_type), 753 transmission_type(transmission_type),
750 all_transmissions(all_transmissions), 754 all_transmissions(all_transmissions),
751 in_flight(false) {} 755 in_flight(false) {
756 all_transmissions->insert(sequence_number);
757 }
752 758
753 } // namespace net 759 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_entropy_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698