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

Unified Diff: net/cert/internal/cert_issuer_source_aia.cc

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 | « net/cert/internal/cert_issuer_source_aia.h ('k') | net/cert/internal/cert_issuer_source_aia_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/cert_issuer_source_aia.cc
diff --git a/net/cert/internal/cert_issuer_source_aia.cc b/net/cert/internal/cert_issuer_source_aia.cc
index 4dacc340467d71e7956df78c9d30758126adcdcc..5ee96a07831110187e2023ff02fe5219e69ce6e1 100644
--- a/net/cert/internal/cert_issuer_source_aia.cc
+++ b/net/cert/internal/cert_issuer_source_aia.cc
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "net/cert/cert_net_fetcher.h"
-#include "net/cert/internal/parsed_certificate.h"
#include "url/gurl.h"
namespace net {
@@ -37,7 +36,7 @@ class AiaRequest : public CertIssuerSource::Request {
CertIssuerSource::IssuerCallback issuers_callback_;
std::vector<std::unique_ptr<CertNetFetcher::Request>> cert_fetcher_requests_;
size_t pending_requests_ = 0;
- std::vector<scoped_refptr<ParsedCertificate>> results_;
+ ParsedCertificateList results_;
size_t current_result_ = 0;
DISALLOW_COPY_AND_ASSIGN(AiaRequest);
@@ -109,9 +108,8 @@ CertIssuerSourceAia::CertIssuerSourceAia(CertNetFetcher* cert_fetcher)
CertIssuerSourceAia::~CertIssuerSourceAia() = default;
-void CertIssuerSourceAia::SyncGetIssuersOf(
- const ParsedCertificate* cert,
- std::vector<scoped_refptr<ParsedCertificate>>* issuers) {
+void CertIssuerSourceAia::SyncGetIssuersOf(const ParsedCertificate* cert,
+ ParsedCertificateList* issuers) {
// CertIssuerSourceAia never returns synchronous results.
}
« no previous file with comments | « net/cert/internal/cert_issuer_source_aia.h ('k') | net/cert/internal/cert_issuer_source_aia_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698