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

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

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 6 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_X509_UTIL_MAC_H_ 5 #ifndef NET_CERT_X509_UTIL_MAC_H_
6 #define NET_CERT_X509_UTIL_MAC_H_ 6 #define NET_CERT_X509_UTIL_MAC_H_
7 7
8 #include <CoreFoundation/CFArray.h> 8 #include <CoreFoundation/CFArray.h>
9 #include <Security/Security.h> 9 #include <Security/Security.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/macros.h"
14 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 namespace x509_util { 18 namespace x509_util {
19 19
20 // Creates a security policy for certificates used as client certificates 20 // Creates a security policy for certificates used as client certificates
21 // in SSL. 21 // in SSL.
22 // If a policy is successfully created, it will be stored in 22 // If a policy is successfully created, it will be stored in
23 // |*policy| and ownership transferred to the caller. 23 // |*policy| and ownership transferred to the caller.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 private: 130 private:
131 CSSM_CL_HANDLE cl_handle_; 131 CSSM_CL_HANDLE cl_handle_;
132 CSSM_HANDLE cached_cert_handle_; 132 CSSM_HANDLE cached_cert_handle_;
133 }; 133 };
134 134
135 } // namespace x509_util 135 } // namespace x509_util
136 136
137 } // namespace net 137 } // namespace net
138 138
139 #endif // NET_CERT_X509_UTIL_MAC_H_ 139 #endif // NET_CERT_X509_UTIL_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698