| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_CERT_CT_SCT_TO_STRING_H_ | 5 #ifndef NET_CERT_CT_SCT_TO_STRING_H_ |
| 6 #define NET_CERT_CT_SCT_TO_STRING_H_ | 6 #define NET_CERT_CT_SCT_TO_STRING_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/base/net_export.h" |
| 10 #include "net/cert/sct_status_flags.h" | 11 #include "net/cert/sct_status_flags.h" |
| 11 #include "net/cert/signed_certificate_timestamp.h" | 12 #include "net/cert/signed_certificate_timestamp.h" |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 | 15 |
| 15 // Functions for converting non-string attributes of | 16 // Functions for converting non-string attributes of |
| 16 // net::ct::SignedCertificateTimestamp and net::ct::SCTVerifyStatus values to | 17 // net::ct::SignedCertificateTimestamp and net::ct::SCTVerifyStatus values to |
| 17 // strings. | 18 // strings. |
| 18 namespace ct { | 19 namespace ct { |
| 19 | 20 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 30 DigitallySigned::SignatureAlgorithm signatureAlgorithm); | 31 DigitallySigned::SignatureAlgorithm signatureAlgorithm); |
| 31 | 32 |
| 32 // Returns a textual representation of |status|. | 33 // Returns a textual representation of |status|. |
| 33 NET_EXPORT const std::string StatusToString(SCTVerifyStatus status); | 34 NET_EXPORT const std::string StatusToString(SCTVerifyStatus status); |
| 34 | 35 |
| 35 } // namespace ct | 36 } // namespace ct |
| 36 | 37 |
| 37 } // namespace net | 38 } // namespace net |
| 38 | 39 |
| 39 #endif // NET_CERT_CT_SCT_TO_STRING_H_ | 40 #endif // NET_CERT_CT_SCT_TO_STRING_H_ |
| OLD | NEW |