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

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

Issue 2531163009: Move QuicAckListenerInterface, QuicPendingRetransmission, and QuicTransmissionInfo out of quic_pack… (Closed)
Patch Set: Move QuicAckListenerInterface, QuicPendingRetransmission, and QuicTransmissionInfo out of quic_pack… Created 4 years 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_connection.cc ('k') | net/quic/core/quic_multipath_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 (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 #ifndef NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 // Removes the retransmittable frames from all unencrypted packets on the 68 // Removes the retransmittable frames from all unencrypted packets on the
69 // default path to ensure they don't get retransmitted. 69 // default path to ensure they don't get retransmitted.
70 void NeuterUnencryptedPackets() override; 70 void NeuterUnencryptedPackets() override;
71 71
72 // Returns true if there are pending retransmissions. 72 // Returns true if there are pending retransmissions.
73 bool HasPendingRetransmissions() const override; 73 bool HasPendingRetransmissions() const override;
74 74
75 // Retrieves the next pending retransmission. Caller must ensure that 75 // Retrieves the next pending retransmission. Caller must ensure that
76 // there are pending retransmissions prior to calling this function. 76 // there are pending retransmissions prior to calling this function.
77 PendingRetransmission NextPendingRetransmission() override; 77 QuicPendingRetransmission NextPendingRetransmission() override;
78 78
79 // Returns true if the any path has unacked packets. 79 // Returns true if the any path has unacked packets.
80 bool HasUnackedPackets() const override; 80 bool HasUnackedPackets() const override;
81 81
82 // Returns the smallest packet number of a serialized packet which has not 82 // Returns the smallest packet number of a serialized packet which has not
83 // been acked on |path_id|. 83 // been acked on |path_id|.
84 QuicPacketNumber GetLeastUnacked(QuicPathId path_id) const override; 84 QuicPacketNumber GetLeastUnacked(QuicPathId path_id) const override;
85 85
86 // Called when a packet has been sent to the peer. If this packet is a 86 // Called when a packet has been sent to the peer. If this packet is a
87 // retransmission on a different path than the original packet, records the 87 // retransmission on a different path than the original packet, records the
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 // Does not own this delegate. 213 // Does not own this delegate.
214 QuicConnectionCloseDelegateInterface* delegate_; 214 QuicConnectionCloseDelegateInterface* delegate_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(QuicMultipathSentPacketManager); 216 DISALLOW_COPY_AND_ASSIGN(QuicMultipathSentPacketManager);
217 }; 217 };
218 218
219 } // namespace net 219 } // namespace net
220 220
221 #endif // NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_ 221 #endif // NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_connection.cc ('k') | net/quic/core/quic_multipath_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698