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