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

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

Issue 88643002: SignedCertificateTimestamp storing & serialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erans_patches
Patch Set: fixes 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: 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
new file mode 100644
index 0000000000000000000000000000000000000000..e61ca58a2384bad30b738ff06fd769d17ff066fe
--- /dev/null
+++ b/content/public/common/signed_certificate_timestamp_id_and_status.cc
@@ -0,0 +1,18 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/public/common/signed_certificate_timestamp_id_and_status.h"
+
+namespace content {
+
+SignedCertificateTimestampIDAndStatus::SignedCertificateTimestampIDAndStatus(
+ int id, net::ct::SCTVerifyStatus status)
+ : id(id), status(status) {}
+
+bool SignedCertificateTimestampIDAndStatus::operator==(
+ const SignedCertificateTimestampIDAndStatus& other) const {
+ return id == other.id && status == other.status;
+}
+
+} // namespace content
« no previous file with comments | « content/public/common/signed_certificate_timestamp_id_and_status.h ('k') | content/public/common/ssl_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698