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

Unified Diff: net/cert/ocsp_revocation_status.h

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: Remaining nits. 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
« no previous file with comments | « net/cert/internal/parse_ocsp_unittest.cc ('k') | net/cert/ocsp_verify_result.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ocsp_revocation_status.h
diff --git a/net/cert/internal/completion_status.h b/net/cert/ocsp_revocation_status.h
similarity index 51%
copy from net/cert/internal/completion_status.h
copy to net/cert/ocsp_revocation_status.h
index 69126cd601071c0f6c95fbe78562f5d5a0badc7b..945104f26f613a9e38d7c6b59c2952873960b673 100644
--- a/net/cert/internal/completion_status.h
+++ b/net/cert/ocsp_revocation_status.h
@@ -2,16 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_CERT_INTERNAL_COMPLETION_STATUS_H_
-#define NET_CERT_INTERNAL_COMPLETION_STATUS_H_
+#ifndef NET_CERT_OCSP_REVOCATION_STATUS_H
+#define NET_CERT_OCSP_REVOCATION_STATUS_H
namespace net {
-enum class CompletionStatus {
- SYNC,
- ASYNC,
+enum class OCSPRevocationStatus {
+ GOOD,
+ REVOKED,
+ UNKNOWN,
};
} // namespace net
-#endif // NET_CERT_INTERNAL_COMPLETION_STATUS_H_
+#endif // NET_CERT_OCSP_REVOCATION_STATUS_H
« no previous file with comments | « net/cert/internal/parse_ocsp_unittest.cc ('k') | net/cert/ocsp_verify_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698