| 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" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 return ProofVerifierForTestingInternal(/*use_real_proof_verifier=*/false); | 123 return ProofVerifierForTestingInternal(/*use_real_proof_verifier=*/false); |
| 124 } | 124 } |
| 125 | 125 |
| 126 // static | 126 // static |
| 127 std::unique_ptr<ProofVerifier> CryptoTestUtils::RealProofVerifierForTesting() { | 127 std::unique_ptr<ProofVerifier> CryptoTestUtils::RealProofVerifierForTesting() { |
| 128 return ProofVerifierForTestingInternal(/*use_real_proof_verifier=*/true); | 128 return ProofVerifierForTestingInternal(/*use_real_proof_verifier=*/true); |
| 129 } | 129 } |
| 130 | 130 |
| 131 // static | 131 // static |
| 132 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { | 132 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { |
| 133 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, BoundNetLog()); | 133 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, |
| 134 NetLogWithSource()); |
| 134 } | 135 } |
| 135 | 136 |
| 136 } // namespace test | 137 } // namespace test |
| 137 | 138 |
| 138 } // namespace net | 139 } // namespace net |
| OLD | NEW |