OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_CERT_VERIFY_PROC_WHITELIST_H_ | 5 #ifndef NET_CERT_CERT_VERIFY_PROC_WHITELIST_H_ |
6 #define NET_CERT_CERT_VERIFY_PROC_WHITELIST_H_ | 6 #define NET_CERT_CERT_VERIFY_PROC_WHITELIST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 const HashValueVector& public_key_hashes); | 37 const HashValueVector& public_key_hashes); |
38 | 38 |
39 // Sets the certificate whitelist for testing. Supply nullptr/0 to reset to | 39 // Sets the certificate whitelist for testing. Supply nullptr/0 to reset to |
40 // the built-in whitelist. | 40 // the built-in whitelist. |
41 void NET_EXPORT_PRIVATE | 41 void NET_EXPORT_PRIVATE |
42 SetCertificateWhitelistForTesting(const PublicKeyWhitelist* whitelist, | 42 SetCertificateWhitelistForTesting(const PublicKeyWhitelist* whitelist, |
43 size_t whitelist_size); | 43 size_t whitelist_size); |
44 | 44 |
45 } // namespace net | 45 } // namespace net |
46 | 46 |
47 #endif // NET_CERT_CERT_VERIFY_PROC_WHITELIST | 47 #endif // NET_CERT_CERT_VERIFY_PROC_WHITELIST_H_ |
OLD | NEW |