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

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

Issue 1782143003: Remove FEC code from receive path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@115997404
Patch Set: Created 4 years, 9 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_framer_test.cc ('k') | net/quic/quic_multipath_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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 // A connection level received packet manager which manages multiple per path 5 // A connection level received packet manager which manages multiple per path
6 // received packet managers. 6 // received packet managers.
7 7
8 #ifndef NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_ 8 #ifndef NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_
9 #define NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_ 9 #define NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 // Called when path with |path_id| is closed. 34 // Called when path with |path_id| is closed.
35 void OnPathClosed(QuicPathId path_id); 35 void OnPathClosed(QuicPathId path_id);
36 36
37 // Records packet receipt information on path with |path_id|. 37 // Records packet receipt information on path with |path_id|.
38 void RecordPacketReceived(QuicPathId path_id, 38 void RecordPacketReceived(QuicPathId path_id,
39 QuicByteCount bytes, 39 QuicByteCount bytes,
40 const QuicPacketHeader& header, 40 const QuicPacketHeader& header,
41 QuicTime receipt_time); 41 QuicTime receipt_time);
42 42
43 // Called when packet with |packet_number| is revived on path with |path_id|.
44 void RecordPacketRevived(QuicPathId path_id, QuicPacketNumber packet_number);
45
46 // Checks whether |packet_number| is missing on path with |path_id|. 43 // Checks whether |packet_number| is missing on path with |path_id|.
47 bool IsMissing(QuicPathId path_id, QuicPacketNumber packet_number); 44 bool IsMissing(QuicPathId path_id, QuicPacketNumber packet_number);
48 45
49 // Checks if we're still waiting for the packet with |packet_number| on path 46 // Checks if we're still waiting for the packet with |packet_number| on path
50 // with |path_id|. 47 // with |path_id|.
51 bool IsAwaitingPacket(QuicPathId path_id, QuicPacketNumber packet_number); 48 bool IsAwaitingPacket(QuicPathId path_id, QuicPacketNumber packet_number);
52 49
53 // If |force_all_paths| is false, populates ack information for paths whose 50 // If |force_all_paths| is false, populates ack information for paths whose
54 // ack has been updated since UpdateReceivedPacketInfo was called last time. 51 // ack has been updated since UpdateReceivedPacketInfo was called last time.
55 // Otherwise, populates ack for all paths. 52 // Otherwise, populates ack for all paths.
(...skipping 14 matching lines...) Expand all
70 private: 67 private:
71 friend class test::QuicMultipathReceivedPacketManagerPeer; 68 friend class test::QuicMultipathReceivedPacketManagerPeer;
72 69
73 // Map mapping path id to path received packet manager. 70 // Map mapping path id to path received packet manager.
74 MultipathReceivedPacketManagerMap path_managers_; 71 MultipathReceivedPacketManagerMap path_managers_;
75 }; 72 };
76 73
77 } // namespace net 74 } // namespace net
78 75
79 #endif // NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_ 76 #endif // NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_framer_test.cc ('k') | net/quic/quic_multipath_received_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698