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

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 agl. 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..45d3dcad43c1132f8a99c815f40100c99809e3d0 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>
wtc 2013/11/19 21:41:44 Nit: add a blank line after this line.
wtc 2013/11/21 03:13:46 Please fix this.
alcutter 2013/11/21 10:48:19 Done.
+#include "base/memory/ref_counted.h"
namespace net {
-class X509Certificate;
-
namespace ct {
struct LogEntry;
@@ -42,10 +41,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