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

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

Issue 2595723002: Allow CertNetFetcher to be shutdown from the network thread (Closed)
Patch Set: fix AIA tests Created 3 years, 11 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_aia.cc
diff --git a/net/cert/internal/cert_issuer_source_aia.cc b/net/cert/internal/cert_issuer_source_aia.cc
index 589b724884554378f493a70ce68343250c5035b1..f939a3082e4f5919a113c8713e61a9783193a335 100644
--- a/net/cert/internal/cert_issuer_source_aia.cc
+++ b/net/cert/internal/cert_issuer_source_aia.cc
@@ -93,7 +93,8 @@ bool AiaRequest::AddCompletedFetchToResults(Error error,
} // namespace
-CertIssuerSourceAia::CertIssuerSourceAia(CertNetFetcher* cert_fetcher)
+CertIssuerSourceAia::CertIssuerSourceAia(
+ scoped_refptr<CertNetFetcher> cert_fetcher)
: cert_fetcher_(cert_fetcher) {}
eroman 2017/01/11 01:56:59 std::move()
estark 2017/01/12 01:06:30 Done.
CertIssuerSourceAia::~CertIssuerSourceAia() = default;

Powered by Google App Engine
This is Rietveld 408576698