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_CERT_CT_TEST_UTIL_H_ |
6 #define NET_CERT_CT_TEST_UTIL_H_ | 6 #define NET_CERT_CT_TEST_UTIL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <string> | 11 #include <string> |
9 #include <vector> | 12 #include <vector> |
10 | 13 |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 | 15 |
13 namespace net { | 16 namespace net { |
14 | 17 |
15 namespace ct { | 18 namespace ct { |
16 | 19 |
17 struct DigitallySigned; | 20 struct DigitallySigned; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 92 |
90 // Assembles, and returns, a sample consistency proof in JSON format using | 93 // Assembles, and returns, a sample consistency proof in JSON format using |
91 // the provided raw nodes (i.e. the raw nodes will be base64-encoded). | 94 // the provided raw nodes (i.e. the raw nodes will be base64-encoded). |
92 std::string CreateConsistencyProofJsonString( | 95 std::string CreateConsistencyProofJsonString( |
93 const std::vector<std::string>& raw_nodes); | 96 const std::vector<std::string>& raw_nodes); |
94 } // namespace ct | 97 } // namespace ct |
95 | 98 |
96 } // namespace net | 99 } // namespace net |
97 | 100 |
98 #endif // NET_CERT_CT_TEST_UTIL_H_ | 101 #endif // NET_CERT_CT_TEST_UTIL_H_ |
OLD | NEW |