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

Unified Diff: content/public/common/signed_certificate_timestamp_id_and_status.cc

Issue 1772603002: Addition of Certificate Transparency details to Security panel of DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: content/public/common/signed_certificate_timestamp_id_and_status.cc
diff --git a/content/public/common/signed_certificate_timestamp_id_and_status.cc b/content/public/common/signed_certificate_timestamp_id_and_status.cc
index e61ca58a2384bad30b738ff06fd769d17ff066fe..8067b29d4e7128e5fe0895a022d194b19bd2eedc 100644
--- a/content/public/common/signed_certificate_timestamp_id_and_status.cc
+++ b/content/public/common/signed_certificate_timestamp_id_and_status.cc
@@ -7,12 +7,29 @@
namespace content {
SignedCertificateTimestampIDAndStatus::SignedCertificateTimestampIDAndStatus(
- int id, net::ct::SCTVerifyStatus status)
- : id(id), status(status) {}
+ int id,
+ net::ct::SCTVerifyStatus status,
+ net::ct::SignedCertificateTimestamp::Version version,
+ std::string logId,
+ int64_t timestamp,
+ net::ct::DigitallySigned signature,
+ net::ct::SignedCertificateTimestamp::Origin origin,
+ std::string logDescription)
+ : id(id)
+ , status(status)
+ , version(version)
+ , logId(logId)
+ , timestamp(timestamp)
+ , signature(signature)
+ , origin(origin)
+ , logDescription(logDescription)
+ {
+ }
bool SignedCertificateTimestampIDAndStatus::operator==(
const SignedCertificateTimestampIDAndStatus& other) const {
return id == other.id && status == other.status;
+ // TODO also compare sct?
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698