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

Unified Diff: net/cert/sct_status_flags.h

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: net/cert/sct_status_flags.h
diff --git a/net/cert/sct_status_flags.h b/net/cert/sct_status_flags.h
new file mode 100644
index 0000000000000000000000000000000000000000..a414a6ae1cdf698248be262f7bf9f0a6c643c252
--- /dev/null
+++ b/net/cert/sct_status_flags.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
wtc 2013/11/27 16:32:41 Although it's not required for the build, please a
alcutter 2013/11/27 18:05:55 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_CERT_SCT_STATUS_H_
+#define NET_CERT_SCT_STATUS_H_
wtc 2013/11/27 16:32:41 The include guard macro should be updated to match
alcutter 2013/11/27 18:05:55 Ay ay, done.
+
+namespace net {
+
+enum SignedCertificateTimestampVerificationStatus {
wtc 2013/11/27 16:32:41 Please document this enum type and its four values
alcutter 2013/11/27 18:05:55 Done.
+ SCT_STATUS_UNSET = 0,
wtc 2013/11/27 16:32:41 Nit: it's not clear what "unset" means.
alcutter 2013/11/27 18:05:55 This was a change in response to Eran's comment ea
+ SCT_STATUS_LOG_UNKNOWN = 1,
+ SCT_STATUS_INVALID = 2,
+ SCT_STATUS_OK = 3,
+};
+
+} // namespace net
+
+#endif // NET_CERT_SCT_STATUS_H_

Powered by Google App Engine
This is Rietveld 408576698