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

Unified Diff: net/cert/ct_serialization.h

Issue 2824983002: Rename net::ct::LogEntry to SignedEntryData and clarify the comment. (Closed)
Patch Set: Eran's nits 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
Index: net/cert/ct_serialization.h
diff --git a/net/cert/ct_serialization.h b/net/cert/ct_serialization.h
index b5b3d77d69d45a04f45639849a3cab8174ae6c94..e6f7ceb59cab74a962af63b6e1f878d148fdded9 100644
--- a/net/cert/ct_serialization.h
+++ b/net/cert/ct_serialization.h
@@ -20,7 +20,7 @@ namespace net {
namespace ct {
struct DigitallySigned;
-struct LogEntry;
+struct SignedEntryData;
Ryan Sleevi 2017/04/21 21:20:13 Sort ;)
mattm 2017/04/22 02:42:15 Done.
struct MerkleTreeLeaf;
struct SignedCertificateTimestamp;
struct SignedTreeHead;
@@ -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.

Powered by Google App Engine
This is Rietveld 408576698