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 #include <algorithm> | 5 #include <algorithm> |
6 #include <cstdint> | 6 #include <cstdint> |
7 #include <memory> | 7 #include <memory> |
8 #include <ostream> | 8 #include <ostream> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "crypto/secure_hash.h" | 12 #include "crypto/secure_hash.h" |
13 #include "net/quic/crypto/cert_compressor.h" | 13 #include "net/quic/core/crypto/cert_compressor.h" |
14 #include "net/quic/crypto/common_cert_set.h" | 14 #include "net/quic/core/crypto/common_cert_set.h" |
15 #include "net/quic/crypto/crypto_handshake.h" | 15 #include "net/quic/core/crypto/crypto_handshake.h" |
16 #include "net/quic/crypto/crypto_server_config_protobuf.h" | 16 #include "net/quic/core/crypto/crypto_server_config_protobuf.h" |
17 #include "net/quic/crypto/crypto_utils.h" | 17 #include "net/quic/core/crypto/crypto_utils.h" |
18 #include "net/quic/crypto/proof_source.h" | 18 #include "net/quic/core/crypto/proof_source.h" |
19 #include "net/quic/crypto/quic_crypto_server_config.h" | 19 #include "net/quic/core/crypto/quic_crypto_server_config.h" |
20 #include "net/quic/crypto/quic_random.h" | 20 #include "net/quic/core/crypto/quic_random.h" |
21 #include "net/quic/quic_flags.h" | 21 #include "net/quic/core/quic_flags.h" |
22 #include "net/quic/quic_socket_address_coder.h" | 22 #include "net/quic/core/quic_socket_address_coder.h" |
23 #include "net/quic/quic_utils.h" | 23 #include "net/quic/core/quic_utils.h" |
24 #include "net/quic/test_tools/crypto_test_utils.h" | 24 #include "net/quic/test_tools/crypto_test_utils.h" |
25 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" | 25 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" |
26 #include "net/quic/test_tools/mock_clock.h" | 26 #include "net/quic/test_tools/mock_clock.h" |
27 #include "net/quic/test_tools/mock_random.h" | 27 #include "net/quic/test_tools/mock_random.h" |
28 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" | 28 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" |
29 #include "net/quic/test_tools/quic_test_utils.h" | 29 #include "net/quic/test_tools/quic_test_utils.h" |
30 #include "testing/gtest/include/gtest/gtest.h" | 30 #include "testing/gtest/include/gtest/gtest.h" |
31 | 31 |
32 using base::StringPiece; | 32 using base::StringPiece; |
33 using std::endl; | 33 using std::endl; |
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 EXPECT_EQ(0, strike_register_client_->PendingVerifications()); | 1208 EXPECT_EQ(0, strike_register_client_->PendingVerifications()); |
1209 } else { | 1209 } else { |
1210 // version 33. | 1210 // version 33. |
1211 ASSERT_EQ(kSHLO, out_.tag()); | 1211 ASSERT_EQ(kSHLO, out_.tag()); |
1212 CheckServerHello(out_); | 1212 CheckServerHello(out_); |
1213 } | 1213 } |
1214 } | 1214 } |
1215 | 1215 |
1216 } // namespace test | 1216 } // namespace test |
1217 } // namespace net | 1217 } // namespace net |
OLD | NEW |