Chromium Code Reviews| Index: net/quic/test_tools/crypto_test_utils_chromium.cc |
| diff --git a/net/quic/test_tools/crypto_test_utils_chromium.cc b/net/quic/test_tools/crypto_test_utils_chromium.cc |
| index 3932f31c0fc48e9648b9c14d594f6d0d03f004b5..1612c909eb2345ca0b2ecc88803ac82636e572cf 100644 |
| --- a/net/quic/test_tools/crypto_test_utils_chromium.cc |
| +++ b/net/quic/test_tools/crypto_test_utils_chromium.cc |
| @@ -219,11 +219,7 @@ class FakeProofVerifier : public TestProofVerifierChromium { |
| // static |
| ProofSource* CryptoTestUtils::ProofSourceForTesting() { |
| -#if defined(USE_OPENSSL) |
| ProofSourceChromium* source = new ProofSourceChromium(); |
| -#else |
| - FakeProofSource* source = new FakeProofSource(); |
|
Ryan Hamilton
2016/04/18 21:52:06
I think you can now remove the FakeProofSource cla
|
| -#endif |
| base::FilePath certs_dir = GetTestCertsDirectory(); |
| CHECK(source->Initialize( |
| certs_dir.AppendASCII("quic_chain.crt"), |
| @@ -250,15 +246,9 @@ ProofVerifier* ProofVerifierForTestingInternal(bool use_real_proof_verifier) { |
| std::move(cert_verifier), make_scoped_ptr(new TransportSecurityState), |
| make_scoped_ptr(new MultiLogCTVerifier), "quic_root.crt"); |
| } |
| -#if defined(USE_OPENSSL) |
| return new TestProofVerifierChromium( |
| std::move(cert_verifier), make_scoped_ptr(new TransportSecurityState), |
| make_scoped_ptr(new MultiLogCTVerifier), "quic_root.crt"); |
| -#else |
| - return new FakeProofVerifier( |
| - std::move(cert_verifier), make_scoped_ptr(new TransportSecurityState), |
| - make_scoped_ptr(new MultiLogCTVerifier), "quic_root.crt"); |
| -#endif |
| } |
| // static |