Index: net/quic/test_tools/quic_multipath_sent_packet_manager_peer.h |
diff --git a/net/quic/test_tools/quic_multipath_sent_packet_manager_peer.h b/net/quic/test_tools/quic_multipath_sent_packet_manager_peer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a0896bcf083794bfcc99126f574bfd9a6ea27fb7 |
--- /dev/null |
+++ b/net/quic/test_tools/quic_multipath_sent_packet_manager_peer.h |
@@ -0,0 +1,27 @@ |
+#ifndef NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ |
Zhongyi Shi
2016/07/25 22:30:34
ditto
|
+#define NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ |
+ |
+#include "base/macros.h" |
+#include "net/quic/quic_multipath_sent_packet_manager.h" |
+#include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
+ |
+namespace net { |
+namespace test { |
+ |
+class QuicMultipathSentPacketManagerPeer { |
+ public: |
+ // Add a path |manager| with close state. |
+ static void AddPathWithCloseState( |
+ QuicMultipathSentPacketManager* multipath_manager, |
+ QuicSentPacketManagerInterface* manager); |
+ |
+ // Add a path |manager| with active state. |
+ static void AddPathWithActiveState( |
+ QuicMultipathSentPacketManager* multipath_manager, |
+ QuicSentPacketManagerInterface* manager); |
+}; |
+ |
+} // namespace test |
+} // namespace net |
+ |
+#endif // NET_QUIC_TEST_TOOLS_QUIC_MULTIPATH_SENT_PACKET_MANAGER_PEER_H_ |