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

Unified Diff: net/cert/ocsp_verify_result.cc

Issue 2100303002: Add OCSPVerifyResult for tracking stapled OCSP responses cross-platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocsp-date-check
Patch Set: Comments from estark Created 4 years, 5 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/ocsp_verify_result.cc
diff --git a/net/cert/ocsp_verify_result.cc b/net/cert/ocsp_verify_result.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e03796338610365e2829a4d0bda7e3a59049d0d3
--- /dev/null
+++ b/net/cert/ocsp_verify_result.cc
@@ -0,0 +1,21 @@
+// Copyright 2016 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 "net/cert/ocsp_verify_result.h"
+
+namespace net {
+
+OCSPVerifyResult::OCSPVerifyResult()
+ : response_status(OCSPVerifyResult::MISSING) {}
+
+OCSPVerifyResult::OCSPVerifyResult(const OCSPVerifyResult&) = default;
+
+OCSPVerifyResult::~OCSPVerifyResult() {}
Ryan Sleevi 2016/07/18 20:08:08 = default
dadrian 2016/07/18 22:23:32 Done.
+
+void OCSPVerifyResult::Reset() {
+ response_status = MISSING;
+ revocation_status = base::nullopt;
+}
+
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698