OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TEST_UTIL_H_ | 5 #ifndef NET_TEST_CT_TEST_UTIL_H_ |
6 #define NET_CERT_CT_TEST_UTIL_H_ | 6 #define NET_TEST_CT_TEST_UTIL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "net/cert/signed_certificate_timestamp.h" | 15 #include "net/cert/signed_certificate_timestamp.h" |
16 #include "net/cert/signed_certificate_timestamp_and_status.h" | 16 #include "net/cert/signed_certificate_timestamp_and_status.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 const std::string& log_description); | 125 const std::string& log_description); |
126 | 126 |
127 // Returns true if |origin| is in the |result|'s |verified_scts|. | 127 // Returns true if |origin| is in the |result|'s |verified_scts|. |
128 bool CheckForSCTOrigin(const SignedCertificateTimestampAndStatusList& scts, | 128 bool CheckForSCTOrigin(const SignedCertificateTimestampAndStatusList& scts, |
129 SignedCertificateTimestamp::Origin origin); | 129 SignedCertificateTimestamp::Origin origin); |
130 | 130 |
131 } // namespace ct | 131 } // namespace ct |
132 | 132 |
133 } // namespace net | 133 } // namespace net |
134 | 134 |
135 #endif // NET_CERT_CT_TEST_UTIL_H_ | 135 #endif // NET_TEST_CT_TEST_UTIL_H_ |
OLD | NEW |