| Index: net/cert/internal/trust_store.h
|
| diff --git a/net/cert/internal/trust_store.h b/net/cert/internal/trust_store.h
|
| index 611af1c40a3565ec3cc48a82dd7fead963669ec6..0afbf9a425be72cedf2b92e3b69697175ca04973 100644
|
| --- a/net/cert/internal/trust_store.h
|
| +++ b/net/cert/internal/trust_store.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/strings/string_piece.h"
|
| #include "net/base/net_export.h"
|
| +#include "net/cert/internal/parsed_certificate.h"
|
|
|
| namespace net {
|
|
|
| @@ -18,8 +19,6 @@ namespace der {
|
| class Input;
|
| }
|
|
|
| -class ParsedCertificate;
|
| -
|
| // A very simple implementation of a TrustStore, which contains a set of
|
| // trusted certificates.
|
| // TODO(mattm): convert this into an interface, provide implementations that
|
| @@ -36,9 +35,8 @@ class NET_EXPORT TrustStore {
|
| void AddTrustedCertificate(scoped_refptr<ParsedCertificate> anchor);
|
|
|
| // Returns the trust anchors that match |name| in |*matches|, if any.
|
| - void FindTrustAnchorsByNormalizedName(
|
| - const der::Input& normalized_name,
|
| - std::vector<scoped_refptr<ParsedCertificate>>* matches) const;
|
| + void FindTrustAnchorsByNormalizedName(const der::Input& normalized_name,
|
| + ParsedCertificateList* matches) const;
|
|
|
| // Returns true if |cert| matches a certificate in the TrustStore.
|
| bool IsTrustedCertificate(const ParsedCertificate* cert) const
|
|
|