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

Unified Diff: net/cert/internal/cert_issuer_source_static_unittest.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 | « net/cert/internal/cert_issuer_source_static.cc ('k') | net/cert/internal/completion_status.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/cert_issuer_source_static_unittest.cc
diff --git a/net/cert/internal/cert_issuer_source_static_unittest.cc b/net/cert/internal/cert_issuer_source_static_unittest.cc
index 949035c0eb10635a22eb11f2b94f1adab8beaa92..c6d4fff18e999195eea3dbef2c1e7142648f82ce 100644
--- a/net/cert/internal/cert_issuer_source_static_unittest.cc
+++ b/net/cert/internal/cert_issuer_source_static_unittest.cc
@@ -14,10 +14,6 @@ namespace net {
namespace {
-void NotCalled(CertIssuerSource::Request* req) {
- ADD_FAILURE() << "NotCalled was called";
-}
-
::testing::AssertionResult ReadTestPem(const std::string& file_name,
const std::string& block_name,
std::string* result) {
@@ -137,7 +133,7 @@ TEST_F(CertIssuerSourceStaticTest, IsNotAsync) {
CertIssuerSourceStatic source;
source.AddCert(i1_1_);
std::unique_ptr<CertIssuerSource::Request> request;
- source.AsyncGetIssuersOf(c1_.get(), base::Bind(&NotCalled), &request);
+ source.AsyncGetIssuersOf(c1_.get(), &request);
EXPECT_EQ(nullptr, request);
}
« no previous file with comments | « net/cert/internal/cert_issuer_source_static.cc ('k') | net/cert/internal/completion_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698