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 #include "net/quic/test_tools/quic_test_packet_maker.h" | 5 #include "net/quic/test_tools/quic_test_packet_maker.h" |
6 | 6 |
7 #include <list> | 7 #include <list> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 #include "net/quic/quic_framer.h" | 11 #include "net/quic/core/quic_framer.h" |
12 #include "net/quic/quic_http_utils.h" | 12 #include "net/quic/core/quic_http_utils.h" |
13 #include "net/quic/quic_utils.h" | 13 #include "net/quic/core/quic_utils.h" |
14 #include "net/quic/test_tools/quic_test_utils.h" | 14 #include "net/quic/test_tools/quic_test_utils.h" |
15 | 15 |
16 using std::make_pair; | 16 using std::make_pair; |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 namespace test { | 19 namespace test { |
20 | 20 |
21 QuicTestPacketMaker::QuicTestPacketMaker(QuicVersion version, | 21 QuicTestPacketMaker::QuicTestPacketMaker(QuicVersion version, |
22 QuicConnectionId connection_id, | 22 QuicConnectionId connection_id, |
23 MockClock* clock, | 23 MockClock* clock, |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 header_.public_header.reset_flag = false; | 663 header_.public_header.reset_flag = false; |
664 header_.public_header.version_flag = should_include_version; | 664 header_.public_header.version_flag = should_include_version; |
665 header_.public_header.packet_number_length = PACKET_1BYTE_PACKET_NUMBER; | 665 header_.public_header.packet_number_length = PACKET_1BYTE_PACKET_NUMBER; |
666 header_.packet_number = packet_number; | 666 header_.packet_number = packet_number; |
667 header_.entropy_flag = false; | 667 header_.entropy_flag = false; |
668 header_.fec_flag = false; | 668 header_.fec_flag = false; |
669 } | 669 } |
670 | 670 |
671 } // namespace test | 671 } // namespace test |
672 } // namespace net | 672 } // namespace net |
OLD | NEW |