OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_utils.h" | 5 #include "net/quic/test_tools/quic_test_utils.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/strings/string_number_conversions.h" | |
11 #include "net/quic/core/crypto/crypto_framer.h" | 10 #include "net/quic/core/crypto/crypto_framer.h" |
12 #include "net/quic/core/crypto/crypto_handshake.h" | 11 #include "net/quic/core/crypto/crypto_handshake.h" |
13 #include "net/quic/core/crypto/crypto_utils.h" | 12 #include "net/quic/core/crypto/crypto_utils.h" |
14 #include "net/quic/core/crypto/null_encrypter.h" | 13 #include "net/quic/core/crypto/null_encrypter.h" |
15 #include "net/quic/core/crypto/quic_decrypter.h" | 14 #include "net/quic/core/crypto/quic_decrypter.h" |
16 #include "net/quic/core/crypto/quic_encrypter.h" | 15 #include "net/quic/core/crypto/quic_encrypter.h" |
17 #include "net/quic/core/quic_data_writer.h" | 16 #include "net/quic/core/quic_data_writer.h" |
18 #include "net/quic/core/quic_framer.h" | 17 #include "net/quic/core/quic_framer.h" |
19 #include "net/quic/core/quic_packet_creator.h" | 18 #include "net/quic/core/quic_packet_creator.h" |
20 #include "net/quic/core/quic_utils.h" | 19 #include "net/quic/core/quic_utils.h" |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 // strike register worries that we've just overflowed a uint32_t time. | 890 // strike register worries that we've just overflowed a uint32_t time. |
892 (*server_connection)->AdvanceTime(connection_start_time); | 891 (*server_connection)->AdvanceTime(connection_start_time); |
893 } | 892 } |
894 | 893 |
895 QuicStreamId QuicClientDataStreamId(int i) { | 894 QuicStreamId QuicClientDataStreamId(int i) { |
896 return kClientDataStreamId1 + 2 * i; | 895 return kClientDataStreamId1 + 2 * i; |
897 } | 896 } |
898 | 897 |
899 } // namespace test | 898 } // namespace test |
900 } // namespace net | 899 } // namespace net |
OLD | NEW |