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

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 jam. 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..8f2de0315b017901f65bead5527f8f51199e630c
--- /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"
+
+namespace content {
+
+SignedCertificateTimestampIDAndStatus::SignedCertificateTimestampIDAndStatus(
+ int id, net::SignedCertificateTimestampVerificationStatus 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