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

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 for wtc. 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..e7600b3bdd3303c431d7dacc7f8c99936366917c
--- /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/ssl_status.h"
wtc 2013/11/28 16:15:07 We should include the header for this .cc file ins
alcutter 2013/11/28 16:42:18 Yup, you can tell I'm rushing to get this out :/
+
+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

Powered by Google App Engine
This is Rietveld 408576698