| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PACKET_GENERATOR_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "net/quic/quic_protocol.h" | 9 #include "net/quic/quic_protocol.h" |
| 9 | 10 |
| 10 namespace net { | 11 namespace net { |
| 11 | 12 |
| 12 class QuicPacketCreator; | 13 class QuicPacketCreator; |
| 13 class QuicPacketGenerator; | 14 class QuicPacketGenerator; |
| 14 | 15 |
| 15 namespace test { | 16 namespace test { |
| 16 | 17 |
| 17 class QuicPacketGeneratorPeer { | 18 class QuicPacketGeneratorPeer { |
| 18 public: | 19 public: |
| 19 static QuicPacketCreator* GetPacketCreator(QuicPacketGenerator* generator); | 20 static QuicPacketCreator* GetPacketCreator(QuicPacketGenerator* generator); |
| 20 | 21 |
| 21 private: | 22 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(QuicPacketGeneratorPeer); | 23 DISALLOW_COPY_AND_ASSIGN(QuicPacketGeneratorPeer); |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 } // namespace test | 26 } // namespace test |
| 26 | 27 |
| 27 } // namespace net | 28 } // namespace net |
| 28 | 29 |
| 29 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ | 30 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_GENERATOR_PEER_H_ |
| OLD | NEW |