OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CREATOR_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ |
6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "net/quic/core/quic_iovector.h" | 11 #include "net/quic/core/quic_iovector.h" |
12 #include "net/quic/core/quic_protocol.h" | 12 #include "net/quic/core/quic_packets.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class QuicPacketCreator; | 15 class QuicPacketCreator; |
16 | 16 |
17 namespace test { | 17 namespace test { |
18 | 18 |
19 class QuicPacketCreatorPeer { | 19 class QuicPacketCreatorPeer { |
20 public: | 20 public: |
21 static bool SendVersionInPacket(QuicPacketCreator* creator); | 21 static bool SendVersionInPacket(QuicPacketCreator* creator); |
22 static bool SendPathIdInPacket(QuicPacketCreator* creator); | 22 static bool SendPathIdInPacket(QuicPacketCreator* creator); |
(...skipping 26 matching lines...) Expand all Loading... |
49 | 49 |
50 private: | 50 private: |
51 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer); | 51 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreatorPeer); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace test | 54 } // namespace test |
55 | 55 |
56 } // namespace net | 56 } // namespace net |
57 | 57 |
58 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ | 58 #endif // NET_QUIC_TEST_TOOLS_QUIC_PACKET_CREATOR_PEER_H_ |
OLD | NEW |