Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_CERT_SCT_STATUS_H_ | |
| 6 #define NET_CERT_SCT_STATUS_H_ | |
| 7 | |
| 8 namespace net { | |
| 9 | |
| 10 typedef uint16 SignedCertificateTimestampVerificationStatus; | |
| 11 | |
| 12 const SignedCertificateTimestampVerificationStatus kSctStatusAll = 0x0003; | |
|
Eran M. (Google)
2013/11/26 21:33:22
You may be able to use values I defined in the oth
alcutter
2013/11/26 23:00:05
Could you give your enum a type name ?
| |
| 13 const SignedCertificateTimestampVerificationStatus kSctStatusOk = 0x0000; | |
|
Eran M. (Google)
2013/11/26 21:33:22
Nit: I'd suggest having the OK status as non-zero,
alcutter
2013/11/26 23:00:05
This was actually a bit-field, which is why zero w
| |
| 14 | |
| 15 const SignedCertificateTimestampVerificationStatus kSctStatusInvalid = 1 << 0; | |
| 16 const SignedCertificateTimestampVerificationStatus kSctStatusLogUnknown = 1 | |
| 17 << 1; | |
| 18 | |
| 19 } // namespace net | |
| 20 | |
| 21 #endif // NET_CERT_SCT_STATUS_H_ | |
| OLD | NEW |