Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: net/cert/cert_verify_proc_whitelist.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/crl_set.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h> 9 #include <stdint.h>
9 10
10 #include "crypto/sha2.h" 11 #include "crypto/sha2.h"
11 #include "net/base/hash_value.h" 12 #include "net/base/hash_value.h"
12 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 class X509Certificate; 17 class X509Certificate;
17 18
(...skipping 19 matching lines...) Expand all
37 38
38 // 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
39 // the built-in whitelist. 40 // the built-in whitelist.
40 void NET_EXPORT_PRIVATE 41 void NET_EXPORT_PRIVATE
41 SetCertificateWhitelistForTesting(const PublicKeyWhitelist* whitelist, 42 SetCertificateWhitelistForTesting(const PublicKeyWhitelist* whitelist,
42 size_t whitelist_size); 43 size_t whitelist_size);
43 44
44 } // namespace net 45 } // namespace net
45 46
46 #endif // NET_CERT_CERT_VERIFY_PROC_WHITELIST 47 #endif // NET_CERT_CERT_VERIFY_PROC_WHITELIST
OLDNEW
« no previous file with comments | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/crl_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698