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

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

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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.cc ('k') | net/quic/quic_received_packet_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 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 // Manages the packet entropy calculation for both sent and received packets 5 // Manages the packet entropy calculation for both sent and received packets
6 // for a connection. 6 // for a connection.
7 7
8 #ifndef NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ 8 #ifndef NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_
9 #define NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ 9 #define NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_
10 10
11 #include <deque> 11 #include <deque>
12 12
13 #include "net/quic/congestion_control/receive_algorithm_interface.h"
14 #include "net/quic/quic_config.h" 13 #include "net/quic/quic_config.h"
15 #include "net/quic/quic_framer.h" 14 #include "net/quic/quic_framer.h"
16 #include "net/quic/quic_protocol.h" 15 #include "net/quic/quic_protocol.h"
17 16
18 namespace net { 17 namespace net {
19 18
20 namespace test { 19 namespace test {
21 class EntropyTrackerPeer; 20 class EntropyTrackerPeer;
22 class QuicConnectionPeer; 21 class QuicConnectionPeer;
23 class QuicReceivedPacketManagerPeer; 22 class QuicReceivedPacketManagerPeer;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 QuicPacketSequenceNumber peer_least_packet_awaiting_ack_; 158 QuicPacketSequenceNumber peer_least_packet_awaiting_ack_;
160 159
161 // Received packet information used to produce acks. 160 // Received packet information used to produce acks.
162 QuicAckFrame ack_frame_; 161 QuicAckFrame ack_frame_;
163 162
164 // The time we received the largest_observed sequence number, or zero if 163 // The time we received the largest_observed sequence number, or zero if
165 // no sequence numbers have been received since UpdateReceivedPacketInfo. 164 // no sequence numbers have been received since UpdateReceivedPacketInfo.
166 // Needed for calculating delta_time_largest_observed. 165 // Needed for calculating delta_time_largest_observed.
167 QuicTime time_largest_observed_; 166 QuicTime time_largest_observed_;
168 167
169 scoped_ptr<ReceiveAlgorithmInterface> receive_algorithm_;
170
171 QuicConnectionStats* stats_; 168 QuicConnectionStats* stats_;
172 169
173 PacketTimeList received_packet_times_; 170 PacketTimeList received_packet_times_;
174 171
175 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager); 172 DISALLOW_COPY_AND_ASSIGN(QuicReceivedPacketManager);
176 }; 173 };
177 174
178 } // namespace net 175 } // namespace net
179 176
180 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_ 177 #endif // NET_QUIC_QUIC_RECEIVED_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_received_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698