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

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 8343cb88fbfd8935f93e2a6061afd6bbe5dd539d..6a07f32b4869c0b2e5ad150090d38df3b16604cd 100644
--- a/net/test/ct_test_util.h
+++ b/net/test/ct_test_util.h
@@ -7,9 +7,9 @@
#include <string>
-namespace net {
+#include "base/memory/ref_counted.h"
-class X509Certificate;
+namespace net {
namespace ct {
@@ -42,10 +42,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);
// Issuer key hash
std::string GetDefaultIssuerKeyHash();

Powered by Google App Engine
This is Rietveld 408576698