| 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 17 matching lines...) Expand all Loading... |
| 28 #include "net/log/net_log_with_source.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; | |
| 39 using std::string; | 38 using std::string; |
| 40 | 39 |
| 41 namespace net { | 40 namespace net { |
| 42 | 41 |
| 43 namespace test { | 42 namespace test { |
| 44 | 43 |
| 45 namespace { | 44 namespace { |
| 46 | 45 |
| 47 class TestProofVerifierChromium : public ProofVerifierChromium { | 46 class TestProofVerifierChromium : public ProofVerifierChromium { |
| 48 public: | 47 public: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 111 |
| 113 // static | 112 // static |
| 114 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { | 113 ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() { |
| 115 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, | 114 return new ProofVerifyContextChromium(/*cert_verify_flags=*/0, |
| 116 NetLogWithSource()); | 115 NetLogWithSource()); |
| 117 } | 116 } |
| 118 | 117 |
| 119 } // namespace test | 118 } // namespace test |
| 120 | 119 |
| 121 } // namespace net | 120 } // namespace net |
| OLD | NEW |