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

Unified Diff: net/test/ct_test_util.h

Issue 72333007: Add an SignedCertificateTimetampStore, making SignedCertificateTimestamp be refcounted to aid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@piecewise
Patch Set: Fixes for wtc. Created 7 years, 1 month 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/test/ct_test_util.h
diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h
index f12e144e4244e26a21912226fb459feb9d61a3f9..f65f0fbce091263b199ed5722ad1e9e55cf61fc0 100644
--- a/net/test/ct_test_util.h
+++ b/net/test/ct_test_util.h
@@ -6,11 +6,10 @@
#define NET_CERT_CT_TEST_UTIL_H_
#include <string>
+#include "base/memory/ref_counted.h"
namespace net {
-class X509Certificate;
-
namespace ct {
struct LogEntry;
@@ -38,10 +37,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

Powered by Google App Engine
This is Rietveld 408576698