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

Unified Diff: net/cert/internal/cert_issuer_source.h

Issue 1923433002: Certificate path builder for new certificate verification library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes for review comment #20 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 | « components/cast_certificate/cast_cert_validator.cc ('k') | net/cert/internal/cert_issuer_source_aia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/cert_issuer_source.h
diff --git a/net/cert/internal/cert_issuer_source.h b/net/cert/internal/cert_issuer_source.h
index 61580a80f48fbdd990ed8c4611e13ea5a5468600..1ffc3b3a9f906ff36e6d4ebc42087f418d5c95d4 100644
--- a/net/cert/internal/cert_issuer_source.h
+++ b/net/cert/internal/cert_issuer_source.h
@@ -11,11 +11,10 @@
#include "base/callback.h"
#include "net/base/net_export.h"
#include "net/cert/internal/completion_status.h"
+#include "net/cert/internal/parsed_certificate.h"
namespace net {
-class ParsedCertificate;
-
// Interface for looking up issuers of a certificate during path building.
// Provides a synchronous and asynchronous method for retrieving issuers, so the
// path builder can try to complete synchronously first. The caller is expected
@@ -58,9 +57,8 @@ class NET_EXPORT CertIssuerSource {
// Matches are appended to |issuers|. Any existing contents of |issuers| will
// not be modified. If the implementation does not support synchronous
// lookups, or if there are no matches, |issuers| is not modified.
- virtual void SyncGetIssuersOf(
- const ParsedCertificate* cert,
- std::vector<scoped_refptr<ParsedCertificate>>* issuers) = 0;
+ virtual void SyncGetIssuersOf(const ParsedCertificate* cert,
+ ParsedCertificateList* issuers) = 0;
// Finds certificates whose Subject matches |cert|'s Issuer.
// If an async callback will be made |*out_req| is filled with a Request
« no previous file with comments | « components/cast_certificate/cast_cert_validator.cc ('k') | net/cert/internal/cert_issuer_source_aia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698