OLD | NEW |
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 |
11 #include <unordered_map> | 11 #include <unordered_map> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "net/quic/quic_protocol.h" | 14 #include "net/quic/core/quic_protocol.h" |
15 #include "net/quic/quic_received_packet_manager.h" | 15 #include "net/quic/core/quic_received_packet_manager.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 namespace test { | 19 namespace test { |
20 class QuicMultipathReceivedPacketManagerPeer; | 20 class QuicMultipathReceivedPacketManagerPeer; |
21 } // namespace test | 21 } // namespace test |
22 | 22 |
23 class NET_EXPORT_PRIVATE QuicMultipathReceivedPacketManager { | 23 class NET_EXPORT_PRIVATE QuicMultipathReceivedPacketManager { |
24 public: | 24 public: |
25 typedef std::unordered_map<QuicPathId, QuicReceivedPacketManager*> | 25 typedef std::unordered_map<QuicPathId, QuicReceivedPacketManager*> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 private: | 67 private: |
68 friend class test::QuicMultipathReceivedPacketManagerPeer; | 68 friend class test::QuicMultipathReceivedPacketManagerPeer; |
69 | 69 |
70 // Map mapping path id to path received packet manager. | 70 // Map mapping path id to path received packet manager. |
71 MultipathReceivedPacketManagerMap path_managers_; | 71 MultipathReceivedPacketManagerMap path_managers_; |
72 }; | 72 }; |
73 | 73 |
74 } // namespace net | 74 } // namespace net |
75 | 75 |
76 #endif // NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_ | 76 #endif // NET_QUIC_QUIC_MULTIPATH_RECEIVED_PACKET_MANAGER_H_ |
OLD | NEW |