| OLD | NEW |
| 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_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "net/quic/quic_multipath_sent_packet_manager.h" | 9 #include "net/quic/core/quic_multipath_sent_packet_manager.h" |
| 10 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" | 10 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 namespace test { | 13 namespace test { |
| 14 | 14 |
| 15 class QuicMultipathSentPacketManagerPeer { | 15 class QuicMultipathSentPacketManagerPeer { |
| 16 public: | 16 public: |
| 17 // Add a path |manager| with close state. | 17 // Add a path |manager| with close state. |
| 18 static void AddPathWithCloseState( | 18 static void AddPathWithCloseState( |
| 19 QuicMultipathSentPacketManager* multipath_manager, | 19 QuicMultipathSentPacketManager* multipath_manager, |
| 20 QuicSentPacketManagerInterface* manager); | 20 QuicSentPacketManagerInterface* manager); |
| 21 | 21 |
| 22 // Add a path |manager| with active state. | 22 // Add a path |manager| with active state. |
| 23 static void AddPathWithActiveState( | 23 static void AddPathWithActiveState( |
| 24 QuicMultipathSentPacketManager* multipath_manager, | 24 QuicMultipathSentPacketManager* multipath_manager, |
| 25 QuicSentPacketManagerInterface* manager); | 25 QuicSentPacketManagerInterface* manager); |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 } // namespace test | 28 } // namespace test |
| 29 } // namespace net | 29 } // namespace net |
| 30 | 30 |
| 31 #endif // NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ | 31 #endif // NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ |
| OLD | NEW |