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 <memory> | 5 #include <memory> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/callback_helpers.h" | 8 #include "base/callback_helpers.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
16 #include "net/base/test_completion_callback.h" | 16 #include "net/base/test_completion_callback.h" |
17 #include "net/base/test_data_directory.h" | |
18 #include "net/cert/cert_status_flags.h" | 17 #include "net/cert/cert_status_flags.h" |
19 #include "net/cert/cert_verifier.h" | 18 #include "net/cert/cert_verifier.h" |
20 #include "net/cert/cert_verify_result.h" | 19 #include "net/cert/cert_verify_result.h" |
21 #include "net/cert/ct_policy_enforcer.h" | 20 #include "net/cert/ct_policy_enforcer.h" |
22 #include "net/cert/ct_verifier.h" | 21 #include "net/cert/ct_verifier.h" |
23 #include "net/cert/mock_cert_verifier.h" | 22 #include "net/cert/mock_cert_verifier.h" |
24 #include "net/cert/multi_log_ct_verifier.h" | 23 #include "net/cert/multi_log_ct_verifier.h" |
25 #include "net/cert/test_root_certs.h" | 24 #include "net/cert/test_root_certs.h" |
26 #include "net/cert/x509_certificate.h" | 25 #include "net/cert/x509_certificate.h" |
27 #include "net/cert/x509_util.h" | 26 #include "net/cert/x509_util.h" |
28 #include "net/http/transport_security_state.h" | 27 #include "net/http/transport_security_state.h" |
29 #include "net/log/net_log.h" | 28 #include "net/log/net_log.h" |
30 #include "net/quic/crypto/crypto_utils.h" | 29 #include "net/quic/crypto/crypto_utils.h" |
31 #include "net/quic/crypto/proof_source_chromium.h" | 30 #include "net/quic/crypto/proof_source_chromium.h" |
32 #include "net/quic/crypto/proof_verifier_chromium.h" | 31 #include "net/quic/crypto/proof_verifier_chromium.h" |
33 #include "net/quic/test_tools/crypto_test_utils.h" | 32 #include "net/quic/test_tools/crypto_test_utils.h" |
34 #include "net/ssl/ssl_config_service.h" | 33 #include "net/ssl/ssl_config_service.h" |
35 #include "net/test/cert_test_util.h" | 34 #include "net/test/cert_test_util.h" |
| 35 #include "net/test/test_data_directory.h" |
36 | 36 |
37 using base::StringPiece; | 37 using base::StringPiece; |
38 using base::StringPrintf; | 38 using base::StringPrintf; |
39 using std::string; | 39 using std::string; |
40 using std::vector; | 40 using std::vector; |
41 | 41 |
42 namespace net { | 42 namespace net { |
43 | 43 |
44 namespace test { | 44 namespace test { |
45 | 45 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 } | 128 } |
129 | 129 |
130 // static | 130 // static |
131 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { | 131 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { |
132 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, BoundNetLog()); | 132 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, BoundNetLog()); |
133 } | 133 } |
134 | 134 |
135 } // namespace test | 135 } // namespace test |
136 | 136 |
137 } // namespace net | 137 } // namespace net |
OLD | NEW |