| 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 45b5123caf14d42026f0bbbc9d9a8588d050a81e..214d73e7a149c09bf58671bf59203e6f162f2aab 100644
|
| --- a/net/cert/internal/trust_store_in_memory.h
|
| +++ b/net/cert/internal/trust_store_in_memory.h
|
| @@ -30,6 +30,11 @@ class NET_EXPORT TrustStoreInMemory : public TrustStore {
|
| void FindTrustAnchorsForCert(const scoped_refptr<ParsedCertificate>& cert,
|
| TrustAnchors* matches) const override;
|
|
|
| + // Returns true if the trust store contains the given TrustAnchor instance.
|
| + // Note that this considers only pointer equality and not a more
|
| + // broad notion of equivalence based on the object's content.
|
| + bool Contains(const TrustAnchor* anchor) const;
|
| +
|
| private:
|
| // Multimap from normalized subject -> TrustAnchor.
|
| std::unordered_multimap<base::StringPiece,
|
|
|