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

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

Issue 2916033003: Landing Recent QUIC changes until 03:18 AM, May 28, UTC (Closed)
Patch Set: A few more EXPORTs. Created 3 years, 6 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/core/quic_headers_stream_test.cc ('k') | net/quic/core/quic_sent_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 #ifndef NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 bool InSlowStart() const; 217 bool InSlowStart() const;
218 218
219 size_t GetConsecutiveRtoCount() const; 219 size_t GetConsecutiveRtoCount() const;
220 220
221 size_t GetConsecutiveTlpCount() const; 221 size_t GetConsecutiveTlpCount() const;
222 222
223 void OnApplicationLimited(); 223 void OnApplicationLimited();
224 224
225 const SendAlgorithmInterface* GetSendAlgorithm() const; 225 const SendAlgorithmInterface* GetSendAlgorithm() const;
226 226
227 void SetStreamNotifier(StreamNotifierInterface* stream_notifier);
228
227 QuicPacketNumber largest_packet_peer_knows_is_acked() const { 229 QuicPacketNumber largest_packet_peer_knows_is_acked() const {
228 return largest_packet_peer_knows_is_acked_; 230 return largest_packet_peer_knows_is_acked_;
229 } 231 }
230 232
231 private: 233 private:
232 friend class test::QuicConnectionPeer; 234 friend class test::QuicConnectionPeer;
233 friend class test::QuicSentPacketManagerPeer; 235 friend class test::QuicSentPacketManagerPeer;
234 236
235 // The retransmission timer is a single timer which switches modes depending 237 // The retransmission timer is a single timer which switches modes depending
236 // upon connection state. 238 // upon connection state.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 412
411 // The largest acked value that was sent in an ack, which has then been acked. 413 // The largest acked value that was sent in an ack, which has then been acked.
412 QuicPacketNumber largest_packet_peer_knows_is_acked_; 414 QuicPacketNumber largest_packet_peer_knows_is_acked_;
413 415
414 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 416 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
415 }; 417 };
416 418
417 } // namespace net 419 } // namespace net
418 420
419 #endif // NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_ 421 #endif // NET_QUIC_CORE_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_headers_stream_test.cc ('k') | net/quic/core/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698