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

Unified Diff: net/cert/ct_serialization.h

Issue 2824983002: Rename net::ct::LogEntry to SignedEntryData and clarify the comment. (Closed)
Patch Set: sort forward decls Created 3 years, 8 months 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
« no previous file with comments | « net/cert/ct_objects_extractor_unittest.cc ('k') | net/cert/ct_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_serialization.h
diff --git a/net/cert/ct_serialization.h b/net/cert/ct_serialization.h
index b5b3d77d69d45a04f45639849a3cab8174ae6c94..5dfb43850c7434b84795939c3849a3603e264281 100644
--- a/net/cert/ct_serialization.h
+++ b/net/cert/ct_serialization.h
@@ -20,9 +20,9 @@ namespace net {
namespace ct {
struct DigitallySigned;
-struct LogEntry;
struct MerkleTreeLeaf;
struct SignedCertificateTimestamp;
+struct SignedEntryData;
struct SignedTreeHead;
// If |input.signature_data| is less than kMaxSignatureLength, encodes the
@@ -36,10 +36,10 @@ NET_EXPORT_PRIVATE bool EncodeDigitallySigned(const DigitallySigned& input,
NET_EXPORT_PRIVATE bool DecodeDigitallySigned(base::StringPiece* input,
DigitallySigned* output);
-// Encodes the |input| LogEntry to |output|. Returns true if the entry size
-// does not exceed allowed size in RFC6962, false otherwise.
-NET_EXPORT_PRIVATE bool EncodeLogEntry(const LogEntry& input,
- std::string* output);
+// Encodes the |input| SignedEntryData to |output|. Returns true if the entry
+// size does not exceed allowed size in RFC6962, false otherwise.
+NET_EXPORT_PRIVATE bool EncodeSignedEntry(const SignedEntryData& input,
+ std::string* output);
// Serialises the Merkle tree |leaf|, appending it to |output|.
// These bytes can be hashed for use with audit proof fetching.
« no previous file with comments | « net/cert/ct_objects_extractor_unittest.cc ('k') | net/cert/ct_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698