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

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

Issue 2391933005: Remove unused "bytes" argument from QuicReceivedPacketManager::RecordPacketReceived. No functional… (Closed)
Patch Set: Delete unused kBytes Created 4 years, 2 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
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 18 matching lines...) Expand all
29 ~QuicMultipathReceivedPacketManager(); 29 ~QuicMultipathReceivedPacketManager();
30 30
31 // Called when a new path with |path_id| is created. 31 // Called when a new path with |path_id| is created.
32 void OnPathCreated(QuicPathId path_id, QuicConnectionStats* stats); 32 void OnPathCreated(QuicPathId path_id, QuicConnectionStats* stats);
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,
40 const QuicPacketHeader& header, 39 const QuicPacketHeader& header,
41 QuicTime receipt_time); 40 QuicTime receipt_time);
42 41
43 // Checks whether |packet_number| is missing on path with |path_id|. 42 // Checks whether |packet_number| is missing on path with |path_id|.
44 bool IsMissing(QuicPathId path_id, QuicPacketNumber packet_number); 43 bool IsMissing(QuicPathId path_id, QuicPacketNumber packet_number);
45 44
46 // Checks if we're still waiting for the packet with |packet_number| on path 45 // Checks if we're still waiting for the packet with |packet_number| on path
47 // with |path_id|. 46 // with |path_id|.
48 bool IsAwaitingPacket(QuicPathId path_id, QuicPacketNumber packet_number); 47 bool IsAwaitingPacket(QuicPathId path_id, QuicPacketNumber packet_number);
49 48
(...skipping 17 matching lines...) Expand all
67 private: 66 private:
68 friend class test::QuicMultipathReceivedPacketManagerPeer; 67 friend class test::QuicMultipathReceivedPacketManagerPeer;
69 68
70 // Map mapping path id to path received packet manager. 69 // Map mapping path id to path received packet manager.
71 MultipathReceivedPacketManagerMap path_managers_; 70 MultipathReceivedPacketManagerMap path_managers_;
72 }; 71 };
73 72
74 } // namespace net 73 } // namespace net
75 74
76 #endif // NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_ 75 #endif // NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_connection.cc ('k') | net/quic/core/quic_multipath_received_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698