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

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 comment #16 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/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..03269bb1dee2bcd31a49c554a939afb3a046a60b 100644
--- a/net/cert/internal/cert_issuer_source.h
+++ b/net/cert/internal/cert_issuer_source.h
@@ -15,6 +15,7 @@
namespace net {
class ParsedCertificate;
+using ParsedCertificateList = std::vector<scoped_refptr<ParsedCertificate>>;
eroman 2016/07/01 23:49:29 Are you duplicating the definition here to avoid #
mattm 2016/07/02 02:21:51 Yeah.
// Interface for looking up issuers of a certificate during path building.
// Provides a synchronous and asynchronous method for retrieving issuers, so the
@@ -58,9 +59,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

Powered by Google App Engine
This is Rietveld 408576698