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/crypto/quic_crypto_client_config.h" |
6 | 6 |
| 7 #include <memory> |
| 8 |
7 #include "base/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
8 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
9 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
10 #include "net/quic/crypto/cert_compressor.h" | 12 #include "net/quic/crypto/cert_compressor.h" |
11 #include "net/quic/crypto/chacha20_poly1305_rfc7539_encrypter.h" | 13 #include "net/quic/crypto/chacha20_poly1305_rfc7539_encrypter.h" |
12 #include "net/quic/crypto/channel_id.h" | 14 #include "net/quic/crypto/channel_id.h" |
13 #include "net/quic/crypto/common_cert_set.h" | 15 #include "net/quic/crypto/common_cert_set.h" |
14 #include "net/quic/crypto/crypto_framer.h" | 16 #include "net/quic/crypto/crypto_framer.h" |
15 #include "net/quic/crypto/crypto_utils.h" | 17 #include "net/quic/crypto/crypto_utils.h" |
16 #include "net/quic/crypto/curve25519_key_exchange.h" | 18 #include "net/quic/crypto/curve25519_key_exchange.h" |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 } | 982 } |
981 | 983 |
982 // Update canonical version to point at the "most recent" entry. | 984 // Update canonical version to point at the "most recent" entry. |
983 canonical_server_map_[suffix_server_id] = server_id; | 985 canonical_server_map_[suffix_server_id] = server_id; |
984 | 986 |
985 server_state->InitializeFrom(*canonical_state); | 987 server_state->InitializeFrom(*canonical_state); |
986 return true; | 988 return true; |
987 } | 989 } |
988 | 990 |
989 } // namespace net | 991 } // namespace net |
OLD | NEW |