| Index: net/cert/internal/trust_store_collection.cc
|
| diff --git a/net/cert/internal/trust_store_collection.cc b/net/cert/internal/trust_store_collection.cc
|
| index 7e004ae1b726b195f7b0012cfba7ccf25c197dc6..58f4c4df0b19112684172dfc335dc55a6a942439 100644
|
| --- a/net/cert/internal/trust_store_collection.cc
|
| +++ b/net/cert/internal/trust_store_collection.cc
|
| @@ -14,12 +14,22 @@ void TrustStoreCollection::AddTrustStore(TrustStore* store) {
|
| stores_.push_back(store);
|
| }
|
|
|
| -void TrustStoreCollection::FindTrustAnchorsForCert(
|
| +void TrustStoreCollection::FindIssuers(
|
| const scoped_refptr<ParsedCertificate>& cert,
|
| - TrustAnchors* matches) const {
|
| + TrustAnchors* trust_anchors,
|
| + ParsedCertificateList* intermediates) const {
|
| for (auto* store : stores_) {
|
| - store->FindTrustAnchorsForCert(cert, matches);
|
| + store->FindIssuers(cert, trust_anchors, intermediates);
|
| }
|
| }
|
|
|
| +bool TrustStoreCollection::IsBlacklisted(
|
| + const scoped_refptr<ParsedCertificate>& cert) const {
|
| + for (auto* store : stores_) {
|
| + if (store->IsBlacklisted(cert))
|
| + return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| } // namespace net
|
|
|