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

Unified Diff: net/base/cert_trust_anchor_provider.h

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | « net/base/cert_test_util.cc ('k') | net/base/cert_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_trust_anchor_provider.h
diff --git a/net/base/cert_trust_anchor_provider.h b/net/base/cert_trust_anchor_provider.h
deleted file mode 100644
index 6a9506869efb1a74f6fd3f8bb1a97323d9c64d7c..0000000000000000000000000000000000000000
--- a/net/base/cert_trust_anchor_provider.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_BASE_CERT_TRUST_ANCHOR_PROVIDER_H_
-#define NET_BASE_CERT_TRUST_ANCHOR_PROVIDER_H_
-
-#include <vector>
-
-#include "base/memory/ref_counted.h"
-#include "net/base/net_export.h"
-
-namespace net {
-
-class X509Certificate;
-typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
-
-// Interface to retrieve the current list of additional trust anchors.
-// This is used by CertVerifier to get a list of anchors to trust in addition to
-// the anchors known to the CertVerifier.
-class NET_EXPORT CertTrustAnchorProvider {
- public:
- virtual ~CertTrustAnchorProvider() {}
-
- // Returns a list of certificates to be used as trust anchors during
- // certificate validation, in addition to (eg: the union of) any pre-existing
- // or pre-configured trust anchors.
- virtual const CertificateList& GetAdditionalTrustAnchors() = 0;
-};
-
-} // namespace net
-
-#endif // NET_BASE_CERT_TRUST_ANCHOR_PROVIDER_H_
« no previous file with comments | « net/base/cert_test_util.cc ('k') | net/base/cert_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698