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

Unified Diff: components/cast_certificate/cast_crl.cc

Issue 2453093004: Remove dependence on a message loop for net::PathBuilder. (Closed)
Patch Set: remove unnecessary forward decl Created 4 years, 1 month 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/cert_net_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_certificate/cast_crl.cc
diff --git a/components/cast_certificate/cast_crl.cc b/components/cast_certificate/cast_crl.cc
index eb0b8d1d49dd27c5467c4e7dad3af178d78901e4..d805f7f8b8ae946fdbaa07d9873059ade5720ec5 100644
--- a/components/cast_certificate/cast_crl.cc
+++ b/components/cast_certificate/cast_crl.cc
@@ -145,8 +145,7 @@ bool VerifyCRL(const Crl& crl,
net::CertPathBuilder path_builder(parsed_cert.get(), trust_store,
signature_policy.get(), verification_time,
&result);
- net::CompletionStatus rv = path_builder.Run(base::Closure());
- DCHECK_EQ(rv, net::CompletionStatus::SYNC);
+ path_builder.Run();
if (!result.HasValidPath()) {
VLOG(2) << "CRL - Issuer certificate verification failed.";
// TODO(crbug.com/634443): Log the error information.
« no previous file with comments | « components/cast_certificate/cast_cert_validator.cc ('k') | net/cert/cert_net_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698