Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: net/cert/caching_cert_verifier.h

Issue 2070223002: Remove CertTrustAnchorProvider from net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Namespace Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cert/caching_cert_verifier.h
diff --git a/net/cert/caching_cert_verifier.h b/net/cert/caching_cert_verifier.h
index 53c7196057db5621084fff1ed32001e9a0517707..54ba118cf2f66870eecc3b8cbaebc81ff4101a8e 100644
--- a/net/cert/caching_cert_verifier.h
+++ b/net/cert/caching_cert_verifier.h
@@ -15,8 +15,6 @@
namespace net {
-class CertTrustAnchorProvider;
-
// CertVerifier that caches the results of certificate verifications.
//
// In general, certificate verification results will vary on only three
@@ -58,13 +56,6 @@ class NET_EXPORT CachingCertVerifier : public CertVerifier,
~CachingCertVerifier() override;
- // Configures a source of additional certificates that should be treated as
- // trust anchors during verification, provided that the underlying
- // CertVerifyProc supports additional trust beyond the default implementation.
- // It must outlive the CachingCertVerifier.
- void SetCertTrustAnchorProvider(
- CertTrustAnchorProvider* trust_anchor_provider);
-
// CertVerifier implementation:
int Verify(const RequestParams& params,
CRLSet* crl_set,
@@ -98,7 +89,6 @@ class NET_EXPORT CachingCertVerifier : public CertVerifier,
FRIEND_TEST_ALL_PREFIXES(CachingCertVerifierTest, Visitor);
FRIEND_TEST_ALL_PREFIXES(CachingCertVerifierTest, AddsEntries);
FRIEND_TEST_ALL_PREFIXES(CachingCertVerifierTest, DifferentCACerts);
- FRIEND_TEST_ALL_PREFIXES(CachingCertVerifierTest, CertTrustAnchorProvider);
// CachedResult contains the result of a certificate verification.
struct NET_EXPORT_PRIVATE CachedResult {
@@ -164,8 +154,6 @@ class NET_EXPORT CachingCertVerifier : public CertVerifier,
std::unique_ptr<CertVerifier> verifier_;
- CertTrustAnchorProvider* trust_anchor_provider_;
-
CertVerificationCache cache_;
uint64_t requests_;
« no previous file with comments | « chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc ('k') | net/cert/caching_cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698