Chromium Code Reviews| Index: net/test/ct_test_util.h |
| diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h |
| index f12e144e4244e26a21912226fb459feb9d61a3f9..3c3e4f787b14865b35eace46fe98b01588a92225 100644 |
| --- a/net/test/ct_test_util.h |
| +++ b/net/test/ct_test_util.h |
| @@ -6,15 +6,15 @@ |
| #define NET_CERT_CT_TEST_UTIL_H_ |
| #include <string> |
| +#include "base/memory/ref_counted.h" |
| namespace net { |
| -class X509Certificate; |
| +class SignedCertificateTimestamp; |
|
wtc
2013/11/19 01:57:40
Is this correct? SignedCertificateTimestamp is def
alcutter
2013/11/19 15:51:34
Good catch - that certainly wasn't correct.
|
| namespace ct { |
| struct LogEntry; |
| -struct SignedCertificateTimestamp; |
| // Note: unless specified otherwise, all test data is taken from Certificate |
| // Transparency test data repository. |
| @@ -38,10 +38,10 @@ std::string GetTestPublicKey(); |
| std::string GetTestPublicKeyId(); |
| // SCT for the X509Certificate provided above. |
| -void GetX509CertSCT(SignedCertificateTimestamp* sct); |
| +void GetX509CertSCT(scoped_refptr<SignedCertificateTimestamp>* sct); |
| // SCT for the Precertificate log entry provided above. |
| -void GetPrecertSCT(SignedCertificateTimestamp* sct); |
| +void GetPrecertSCT(scoped_refptr<SignedCertificateTimestamp>* sct); |
| } // namespace ct |