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

Side by Side Diff: net/quic/core/crypto/quic_crypto_server_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_server_config.h" 5 #include "net/quic/core/crypto/quic_crypto_server_config.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "crypto/hkdf.h" 15 #include "crypto/hkdf.h"
16 #include "crypto/secure_hash.h" 16 #include "crypto/secure_hash.h"
17 #include "net/base/ip_address.h" 17 #include "net/base/ip_address.h"
18 #include "net/quic/crypto/aes_128_gcm_12_decrypter.h" 18 #include "net/quic/core/crypto/aes_128_gcm_12_decrypter.h"
19 #include "net/quic/crypto/aes_128_gcm_12_encrypter.h" 19 #include "net/quic/core/crypto/aes_128_gcm_12_encrypter.h"
20 #include "net/quic/crypto/cert_compressor.h" 20 #include "net/quic/core/crypto/cert_compressor.h"
21 #include "net/quic/crypto/chacha20_poly1305_encrypter.h" 21 #include "net/quic/core/crypto/chacha20_poly1305_encrypter.h"
22 #include "net/quic/crypto/channel_id.h" 22 #include "net/quic/core/crypto/channel_id.h"
23 #include "net/quic/crypto/crypto_framer.h" 23 #include "net/quic/core/crypto/crypto_framer.h"
24 #include "net/quic/crypto/crypto_handshake_message.h" 24 #include "net/quic/core/crypto/crypto_handshake_message.h"
25 #include "net/quic/crypto/crypto_server_config_protobuf.h" 25 #include "net/quic/core/crypto/crypto_server_config_protobuf.h"
26 #include "net/quic/crypto/crypto_utils.h" 26 #include "net/quic/core/crypto/crypto_utils.h"
27 #include "net/quic/crypto/curve25519_key_exchange.h" 27 #include "net/quic/core/crypto/curve25519_key_exchange.h"
28 #include "net/quic/crypto/ephemeral_key_source.h" 28 #include "net/quic/core/crypto/ephemeral_key_source.h"
29 #include "net/quic/crypto/key_exchange.h" 29 #include "net/quic/core/crypto/key_exchange.h"
30 #include "net/quic/crypto/local_strike_register_client.h" 30 #include "net/quic/core/crypto/local_strike_register_client.h"
31 #include "net/quic/crypto/p256_key_exchange.h" 31 #include "net/quic/core/crypto/p256_key_exchange.h"
32 #include "net/quic/crypto/proof_source.h" 32 #include "net/quic/core/crypto/proof_source.h"
33 #include "net/quic/crypto/quic_decrypter.h" 33 #include "net/quic/core/crypto/quic_decrypter.h"
34 #include "net/quic/crypto/quic_encrypter.h" 34 #include "net/quic/core/crypto/quic_encrypter.h"
35 #include "net/quic/crypto/quic_random.h" 35 #include "net/quic/core/crypto/quic_random.h"
36 #include "net/quic/crypto/strike_register.h" 36 #include "net/quic/core/crypto/strike_register.h"
37 #include "net/quic/crypto/strike_register_client.h" 37 #include "net/quic/core/crypto/strike_register_client.h"
38 #include "net/quic/proto/source_address_token.pb.h" 38 #include "net/quic/core/proto/source_address_token.pb.h"
39 #include "net/quic/quic_bug_tracker.h" 39 #include "net/quic/core/quic_bug_tracker.h"
40 #include "net/quic/quic_clock.h" 40 #include "net/quic/core/quic_clock.h"
41 #include "net/quic/quic_flags.h" 41 #include "net/quic/core/quic_flags.h"
42 #include "net/quic/quic_protocol.h" 42 #include "net/quic/core/quic_protocol.h"
43 #include "net/quic/quic_socket_address_coder.h" 43 #include "net/quic/core/quic_socket_address_coder.h"
44 #include "net/quic/quic_utils.h" 44 #include "net/quic/core/quic_utils.h"
45 45
46 using base::StringPiece; 46 using base::StringPiece;
47 using crypto::SecureHash; 47 using crypto::SecureHash;
48 using std::map; 48 using std::map;
49 using std::sort; 49 using std::sort;
50 using std::string; 50 using std::string;
51 using std::vector; 51 using std::vector;
52 52
53 namespace net { 53 namespace net {
54 54
(...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after
2057 priority(0), 2057 priority(0),
2058 source_address_token_boxer(nullptr) {} 2058 source_address_token_boxer(nullptr) {}
2059 2059
2060 QuicCryptoServerConfig::Config::~Config() { 2060 QuicCryptoServerConfig::Config::~Config() {
2061 STLDeleteElements(&key_exchanges); 2061 STLDeleteElements(&key_exchanges);
2062 } 2062 }
2063 2063
2064 QuicCryptoProof::QuicCryptoProof() {} 2064 QuicCryptoProof::QuicCryptoProof() {}
2065 QuicCryptoProof::~QuicCryptoProof() {} 2065 QuicCryptoProof::~QuicCryptoProof() {}
2066 } // namespace net 2066 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config.h ('k') | net/quic/core/crypto/quic_crypto_server_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698