Chromium Code Reviews| 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..6af1a3c54cf7f3c3ea60fe851eef9e20e6699d69 100644 |
| --- a/net/cert/internal/trust_store.h |
| +++ b/net/cert/internal/trust_store.h |
| @@ -19,6 +19,7 @@ class Input; |
| } |
| class ParsedCertificate; |
| +using ParsedCertificateList = std::vector<scoped_refptr<ParsedCertificate>>; |
|
eroman
2016/07/01 23:49:29
same comment as earlier.
mattm
2016/07/02 02:21:51
Done.
|
| // A very simple implementation of a TrustStore, which contains a set of |
| // trusted certificates. |
| @@ -36,9 +37,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 |