OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 // Provides a simple interface for QUIC tests to create a variety of packets. | 5 // Provides a simple interface for QUIC tests to create a variety of packets. |
6 | 6 |
7 #ifndef NET_QUIC_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ | 7 #ifndef NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_ |
8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ | 8 #define NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_ |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "net/base/request_priority.h" | 17 #include "net/base/request_priority.h" |
18 #include "net/quic/core/quic_packets.h" | 18 #include "net/quic/core/quic_packets.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 MockRandom random_generator_; | 233 MockRandom random_generator_; |
234 QuicPacketHeader header_; | 234 QuicPacketHeader header_; |
235 Perspective perspective_; | 235 Perspective perspective_; |
236 | 236 |
237 DISALLOW_COPY_AND_ASSIGN(QuicTestPacketMaker); | 237 DISALLOW_COPY_AND_ASSIGN(QuicTestPacketMaker); |
238 }; | 238 }; |
239 | 239 |
240 } // namespace test | 240 } // namespace test |
241 } // namespace net | 241 } // namespace net |
242 | 242 |
243 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ | 243 #endif // NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_ |
OLD | NEW |