Index: net/cert/ct_verify_result.h |
diff --git a/net/cert/ct_verify_result.h b/net/cert/ct_verify_result.h |
index a9f1be3993d6fe29619457b8f713bf617f7c1a61..c938f9eaf7f97dd6978f0528c568e1a5a70d77bc 100644 |
--- a/net/cert/ct_verify_result.h |
+++ b/net/cert/ct_verify_result.h |
@@ -7,12 +7,15 @@ |
#include <vector> |
+#include "base/memory/ref_counted.h" |
#include "net/cert/signed_certificate_timestamp.h" |
namespace net { |
namespace ct { |
+typedef std::vector<scoped_refptr<SignedCertificateTimestamp> > SCTList; |
+ |
// XXX(rsleevi): Track more information for verified SCTs, such as each of |
// the computed entry types (since both x509_cert and pre_cert are valid entry |
// types during verification), as well as their respective Merkle leaf hashes |
@@ -24,8 +27,8 @@ struct NET_EXPORT CTVerifyResult { |
CTVerifyResult(); |
~CTVerifyResult(); |
- std::vector<SignedCertificateTimestamp> verified_scts; |
- std::vector<SignedCertificateTimestamp> unverified_scts; |
+ SCTList verified_scts; |
+ SCTList unverified_scts; |
}; |
} // namespace ct |