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

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

Issue 2453093004: Remove dependence on a message loop for net::PathBuilder. (Closed)
Patch Set: Created 4 years, 2 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/path_builder_verify_certificate_chain_unittest.cc
diff --git a/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc b/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
index 3bc20ef08190ec9578153263ca15ee06525d036b..003157b8dfad267946cc426d77f4598d308f5464 100644
--- a/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
+++ b/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
@@ -37,9 +37,7 @@ class PathBuilderDelegate {
time, &result);
path_builder.AddCertIssuerSource(&intermediate_cert_issuer_source);
- CompletionStatus rv = path_builder.Run(base::Closure());
- EXPECT_EQ(CompletionStatus::SYNC, rv);
-
+ path_builder.Run();
EXPECT_EQ(expected_result, result.HasValidPath());
}
};

Powered by Google App Engine
This is Rietveld 408576698