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/cert/cert_status_flags.h" | 17 #include "net/cert/cert_status_flags.h" |
18 #include "net/cert/cert_verifier.h" | 18 #include "net/cert/cert_verifier.h" |
19 #include "net/cert/cert_verify_result.h" | 19 #include "net/cert/cert_verify_result.h" |
20 #include "net/cert/ct_policy_enforcer.h" | 20 #include "net/cert/ct_policy_enforcer.h" |
21 #include "net/cert/ct_verifier.h" | 21 #include "net/cert/ct_verifier.h" |
22 #include "net/cert/mock_cert_verifier.h" | 22 #include "net/cert/mock_cert_verifier.h" |
23 #include "net/cert/multi_log_ct_verifier.h" | 23 #include "net/cert/multi_log_ct_verifier.h" |
24 #include "net/cert/test_root_certs.h" | 24 #include "net/cert/test_root_certs.h" |
25 #include "net/cert/x509_certificate.h" | 25 #include "net/cert/x509_certificate.h" |
26 #include "net/cert/x509_util.h" | 26 #include "net/cert/x509_util.h" |
27 #include "net/http/transport_security_state.h" | 27 #include "net/http/transport_security_state.h" |
28 #include "net/log/net_log.h" | 28 #include "net/log/net_log_with_source.h" |
29 #include "net/quic/chromium/crypto/proof_source_chromium.h" | 29 #include "net/quic/chromium/crypto/proof_source_chromium.h" |
30 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 30 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
31 #include "net/quic/core/crypto/crypto_utils.h" | 31 #include "net/quic/core/crypto/crypto_utils.h" |
32 #include "net/quic/test_tools/crypto_test_utils.h" | 32 #include "net/quic/test_tools/crypto_test_utils.h" |
33 #include "net/ssl/ssl_config_service.h" | 33 #include "net/ssl/ssl_config_service.h" |
34 #include "net/test/cert_test_util.h" | 34 #include "net/test/cert_test_util.h" |
35 #include "net/test/test_data_directory.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; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 // static | 131 // static |
132 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { | 132 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { |
133 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, | 133 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, |
134 NetLogWithSource()); | 134 NetLogWithSource()); |
135 } | 135 } |
136 | 136 |
137 } // namespace test | 137 } // namespace test |
138 | 138 |
139 } // namespace net | 139 } // namespace net |
OLD | NEW |