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

Unified Diff: net/cert/signed_certificate_timestamp.h

Issue 88643002: SignedCertificateTimestamp storing & serialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erans_patches
Patch Set: remove a spurious content:: 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/cert/signed_certificate_timestamp.h
diff --git a/net/cert/signed_certificate_timestamp.h b/net/cert/signed_certificate_timestamp.h
index 9c73dee6a82b70ce7832b7e44aa4e3667331451b..7b56c7b2baa038c196f3344be3829fb00ecf1d82 100644
--- a/net/cert/signed_certificate_timestamp.h
+++ b/net/cert/signed_certificate_timestamp.h
@@ -13,6 +13,9 @@
#include "net/base/hash_value.h"
#include "net/base/net_export.h"
+class Pickle;
+class PickleIterator;
+
namespace net {
// Structures related to Certificate Transparency (RFC6962).
@@ -93,6 +96,10 @@ struct NET_EXPORT SignedCertificateTimestamp
SignedCertificateTimestamp();
+ void Persist(Pickle* pickle);
+ static scoped_refptr<SignedCertificateTimestamp>
+ CreateFromPickle(PickleIterator* iter);
wtc 2013/11/28 01:28:02 Nit: if this works, this line folding might look n
alcutter 2013/11/28 12:08:19 Done.
+
Version version;
std::string log_id;
base::Time timestamp;

Powered by Google App Engine
This is Rietveld 408576698