Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: net/cert/internal/trust_store.h

Issue 1923433002: Certificate path builder for new certificate verification library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes for comment #16 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698