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_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ |
8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ | 8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ |
9 | 9 |
| 10 #include <stddef.h> |
| 11 |
| 12 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
11 #include "net/base/request_priority.h" | 14 #include "net/base/request_priority.h" |
12 #include "net/quic/quic_protocol.h" | 15 #include "net/quic/quic_protocol.h" |
13 #include "net/quic/test_tools/mock_clock.h" | 16 #include "net/quic/test_tools/mock_clock.h" |
14 #include "net/quic/test_tools/mock_random.h" | 17 #include "net/quic/test_tools/mock_random.h" |
15 #include "net/spdy/spdy_framer.h" | 18 #include "net/spdy/spdy_framer.h" |
16 #include "net/spdy/spdy_protocol.h" | 19 #include "net/spdy/spdy_protocol.h" |
17 | 20 |
18 namespace net { | 21 namespace net { |
19 namespace test { | 22 namespace test { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 MockRandom random_generator_; | 126 MockRandom random_generator_; |
124 QuicPacketHeader header_; | 127 QuicPacketHeader header_; |
125 | 128 |
126 DISALLOW_COPY_AND_ASSIGN(QuicTestPacketMaker); | 129 DISALLOW_COPY_AND_ASSIGN(QuicTestPacketMaker); |
127 }; | 130 }; |
128 | 131 |
129 } // namespace test | 132 } // namespace test |
130 } // namespace net | 133 } // namespace net |
131 | 134 |
132 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ | 135 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_PACKET_MAKER_H_ |
OLD | NEW |