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

Unified Diff: net/cert/internal/trust_store_in_memory.h

Issue 2919863003: Fix a reachable LOG(ERROR) from path builder unit-test. (Closed)
Patch Set: Created 3 years, 7 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/trust_store_in_memory.h
diff --git a/net/cert/internal/trust_store_in_memory.h b/net/cert/internal/trust_store_in_memory.h
index 19d542f07f98457e0e2bb04c67cc6cee803b5209..6c705b74e13e99fcffcdad2634ad22d480daf5d6 100644
--- a/net/cert/internal/trust_store_in_memory.h
+++ b/net/cert/internal/trust_store_in_memory.h
@@ -37,6 +37,10 @@ class NET_EXPORT TrustStoreInMemory : public TrustStore {
// issuer/serial is probably what we would want for a real implementation).
void AddDistrustedCertificateForTest(scoped_refptr<ParsedCertificate> cert);
+ // Adds a certificate to the store, that is neither trusted nor untrusted.
+ void AddCertificateWithUnspecifiedTrust(
+ scoped_refptr<ParsedCertificate> cert);
+
// TrustStore implementation:
void SyncGetIssuersOf(const ParsedCertificate* cert,
ParsedCertificateList* issuers) override;
« no previous file with comments | « net/cert/internal/path_builder_verify_certificate_chain_unittest.cc ('k') | net/cert/internal/trust_store_in_memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698