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/crypto/quic_crypto_client_config.h" | 5 #include "net/quic/core/crypto/quic_crypto_client_config.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "net/quic/crypto/cert_compressor.h" | 12 #include "net/quic/core/crypto/cert_compressor.h" |
13 #include "net/quic/crypto/chacha20_poly1305_encrypter.h" | 13 #include "net/quic/core/crypto/chacha20_poly1305_encrypter.h" |
14 #include "net/quic/crypto/channel_id.h" | 14 #include "net/quic/core/crypto/channel_id.h" |
15 #include "net/quic/crypto/common_cert_set.h" | 15 #include "net/quic/core/crypto/common_cert_set.h" |
16 #include "net/quic/crypto/crypto_framer.h" | 16 #include "net/quic/core/crypto/crypto_framer.h" |
17 #include "net/quic/crypto/crypto_utils.h" | 17 #include "net/quic/core/crypto/crypto_utils.h" |
18 #include "net/quic/crypto/curve25519_key_exchange.h" | 18 #include "net/quic/core/crypto/curve25519_key_exchange.h" |
19 #include "net/quic/crypto/key_exchange.h" | 19 #include "net/quic/core/crypto/key_exchange.h" |
20 #include "net/quic/crypto/p256_key_exchange.h" | 20 #include "net/quic/core/crypto/p256_key_exchange.h" |
21 #include "net/quic/crypto/proof_verifier.h" | 21 #include "net/quic/core/crypto/proof_verifier.h" |
22 #include "net/quic/crypto/quic_encrypter.h" | 22 #include "net/quic/core/crypto/quic_encrypter.h" |
23 #include "net/quic/crypto/quic_random.h" | 23 #include "net/quic/core/crypto/quic_random.h" |
24 #include "net/quic/quic_bug_tracker.h" | 24 #include "net/quic/core/quic_bug_tracker.h" |
25 #include "net/quic/quic_flags.h" | 25 #include "net/quic/core/quic_flags.h" |
26 #include "net/quic/quic_utils.h" | 26 #include "net/quic/core/quic_utils.h" |
27 | 27 |
28 using base::StringPiece; | 28 using base::StringPiece; |
29 using std::map; | 29 using std::map; |
30 using std::string; | 30 using std::string; |
31 using std::queue; | 31 using std::queue; |
32 using std::vector; | 32 using std::vector; |
33 | 33 |
34 namespace net { | 34 namespace net { |
35 | 35 |
36 namespace { | 36 namespace { |
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 } | 982 } |
983 | 983 |
984 // Update canonical version to point at the "most recent" entry. | 984 // Update canonical version to point at the "most recent" entry. |
985 canonical_server_map_[suffix_server_id] = server_id; | 985 canonical_server_map_[suffix_server_id] = server_id; |
986 | 986 |
987 server_state->InitializeFrom(*canonical_state); | 987 server_state->InitializeFrom(*canonical_state); |
988 return true; | 988 return true; |
989 } | 989 } |
990 | 990 |
991 } // namespace net | 991 } // namespace net |
OLD | NEW |