Index: net/cert/internal/trust_store_in_memory.cc |
diff --git a/net/cert/internal/trust_store_in_memory.cc b/net/cert/internal/trust_store_in_memory.cc |
index 34f53b573df3bf1561a5bc36b11301bc65f5b780..09efd721726446a77df2c10a4ee18330024fc936 100644 |
--- a/net/cert/internal/trust_store_in_memory.cc |
+++ b/net/cert/internal/trust_store_in_memory.cc |
@@ -28,6 +28,11 @@ void TrustStoreInMemory::AddDistrustedCertificateForTest( |
AddCertificate(std::move(cert), CertificateTrust::ForDistrusted()); |
} |
+void TrustStoreInMemory::AddCertificateWithUnspecifiedTrust( |
+ scoped_refptr<ParsedCertificate> cert) { |
+ AddCertificate(std::move(cert), CertificateTrust::ForUnspecified()); |
+} |
+ |
void TrustStoreInMemory::SyncGetIssuersOf(const ParsedCertificate* cert, |
ParsedCertificateList* issuers) { |
auto range = entries_.equal_range(cert->normalized_issuer().AsStringPiece()); |