summaryrefslogtreecommitdiffstats
path: root/chromium/net/quic/test_tools/quic_packet_generator_peer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/quic/test_tools/quic_packet_generator_peer.h')
-rw-r--r--chromium/net/quic/test_tools/quic_packet_generator_peer.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/net/quic/test_tools/quic_packet_generator_peer.h b/chromium/net/quic/test_tools/quic_packet_generator_peer.h
new file mode 100644
index 00000000000..0762d1f6c58
--- /dev/null
+++ b/chromium/net/quic/test_tools/quic_packet_generator_peer.h
@@ -0,0 +1,29 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_
+#define NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_
+
+#include "net/quic/quic_protocol.h"
+
+namespace net {
+
+class QuicPacketCreator;
+class QuicPacketGenerator;
+
+namespace test {
+
+class QuicPacketGeneratorPeer {
+ public:
+ static QuicPacketCreator* GetPacketCreator(QuicPacketGenerator* generator);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(QuicPacketGeneratorPeer);
+};
+
+} // namespace test
+
+} // namespace net
+
+#endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_