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

Unified Diff: chrome/browser/chromeos/policy/policy_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
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/policy_cert_verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/policy_cert_verifier.h
diff --git a/chrome/browser/chromeos/policy/policy_cert_verifier.h b/chrome/browser/chromeos/policy/policy_cert_verifier.h
index 1e80da0f70d486964ba0e8759b67064ac90569ae..21d0356bd6d1afd447b4e79f79a6641a60e56e1e 100644
--- a/chrome/browser/chromeos/policy/policy_cert_verifier.h
+++ b/chrome/browser/chromeos/policy/policy_cert_verifier.h
@@ -13,7 +13,6 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "net/base/completion_callback.h"
-#include "net/cert/cert_trust_anchor_provider.h"
#include "net/cert/cert_verifier.h"
namespace net {
@@ -27,8 +26,7 @@ namespace policy {
// Wraps a MultiThreadedCertVerifier to make it use the additional trust anchors
// configured by the ONC user policy.
-class PolicyCertVerifier : public net::CertVerifier,
- public net::CertTrustAnchorProvider {
+class PolicyCertVerifier : public net::CertVerifier {
public:
// Except for tests, PolicyCertVerifier should only be created by
// PolicyCertService, which is the counterpart of this class on the UI thread.
@@ -56,9 +54,6 @@ class PolicyCertVerifier : public net::CertVerifier,
bool SupportsOCSPStapling() override;
- // CertTrustAnchorProvider:
- const net::CertificateList& GetAdditionalTrustAnchors() override;
-
private:
net::CertificateList trust_anchors_;
base::Closure anchor_used_callback_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/policy_cert_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698