Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Side by Side Diff: net/quic/core/crypto/quic_crypto_client_config.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/quic/core/crypto/quic_crypto_client_config.h ('k') | net/quic/core/crypto/quic_crypto_client_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698