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

Unified Diff: net/quic/test_tools/quic_multipath_sent_packet_manager_peer.h

Issue 2183493002: Add a merely pass-through QuicMultipathSentPacketManager. Protected behind blocked flag FLAGS_quic_… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698