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

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

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 697
698 TransmissionInfo::TransmissionInfo() 698 TransmissionInfo::TransmissionInfo()
699 : retransmittable_frames(nullptr), 699 : retransmittable_frames(nullptr),
700 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER), 700 sequence_number_length(PACKET_1BYTE_SEQUENCE_NUMBER),
701 sent_time(QuicTime::Zero()), 701 sent_time(QuicTime::Zero()),
702 bytes_sent(0), 702 bytes_sent(0),
703 nack_count(0), 703 nack_count(0),
704 transmission_type(NOT_RETRANSMISSION), 704 transmission_type(NOT_RETRANSMISSION),
705 all_transmissions(nullptr), 705 all_transmissions(nullptr),
706 in_flight(false), 706 in_flight(false),
707 is_unackable(false) {} 707 is_unackable(false),
708 is_fec_packet(false) {}
708 709
709 TransmissionInfo::TransmissionInfo( 710 TransmissionInfo::TransmissionInfo(
710 RetransmittableFrames* retransmittable_frames, 711 RetransmittableFrames* retransmittable_frames,
711 QuicSequenceNumberLength sequence_number_length, 712 QuicSequenceNumberLength sequence_number_length,
712 TransmissionType transmission_type, 713 TransmissionType transmission_type,
713 QuicTime sent_time) 714 QuicTime sent_time)
714 : retransmittable_frames(retransmittable_frames), 715 : retransmittable_frames(retransmittable_frames),
715 sequence_number_length(sequence_number_length), 716 sequence_number_length(sequence_number_length),
716 sent_time(sent_time), 717 sent_time(sent_time),
717 bytes_sent(0), 718 bytes_sent(0),
718 nack_count(0), 719 nack_count(0),
719 transmission_type(transmission_type), 720 transmission_type(transmission_type),
720 all_transmissions(nullptr), 721 all_transmissions(nullptr),
721 in_flight(false), 722 in_flight(false),
722 is_unackable(false) {} 723 is_unackable(false),
724 is_fec_packet(false) {}
723 725
724 } // namespace net 726 } // 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