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

Side by Side Diff: net/cert/x509_certificate_ios.cc

Issue 18054009: Use a direct include of time headers in net/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « net/cert/x509_certificate.cc ('k') | net/cert/x509_certificate_nss.cc » ('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) 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 #include "net/cert/x509_certificate.h" 5 #include "net/cert/x509_certificate.h"
6 6
7 #include <CommonCrypto/CommonDigest.h> 7 #include <CommonCrypto/CommonDigest.h>
8 #include <Security/Security.h> 8 #include <Security/Security.h>
9 9
10 #include <cert.h> 10 #include <cert.h>
11 #include <cryptohi.h> 11 #include <cryptohi.h>
12 #include <keyhi.h> 12 #include <keyhi.h>
13 #include <nss.h> 13 #include <nss.h>
14 #include <pk11pub.h> 14 #include <pk11pub.h>
15 #include <prerror.h> 15 #include <prerror.h>
16 #include <prtime.h> 16 #include <prtime.h>
17 #include <prtypes.h> 17 #include <prtypes.h>
18 #include <secder.h> 18 #include <secder.h>
19 #include <secerr.h> 19 #include <secerr.h>
20 #include <sslerr.h> 20 #include <sslerr.h>
21 21
22 #include <vector> 22 #include <vector>
23 23
24 #include "base/logging.h" 24 #include "base/logging.h"
25 #include "base/mac/scoped_cftyperef.h" 25 #include "base/mac/scoped_cftyperef.h"
26 #include "base/memory/scoped_ptr.h" 26 #include "base/memory/scoped_ptr.h"
27 #include "base/pickle.h" 27 #include "base/pickle.h"
28 #include "base/time.h" 28 #include "base/time/time.h"
29 #include "crypto/nss_util.h" 29 #include "crypto/nss_util.h"
30 #include "crypto/scoped_nss_types.h" 30 #include "crypto/scoped_nss_types.h"
31 #include "net/base/net_errors.h" 31 #include "net/base/net_errors.h"
32 #include "net/cert/asn1_util.h" 32 #include "net/cert/asn1_util.h"
33 #include "net/cert/cert_status_flags.h" 33 #include "net/cert/cert_status_flags.h"
34 #include "net/cert/cert_verify_result.h" 34 #include "net/cert/cert_verify_result.h"
35 #include "net/cert/ev_root_ca_metadata.h" 35 #include "net/cert/ev_root_ca_metadata.h"
36 #include "net/cert/x509_util_ios.h" 36 #include "net/cert/x509_util_ios.h"
37 #include "net/cert/x509_util_nss.h" 37 #include "net/cert/x509_util_nss.h"
38 38
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 // static 226 // static
227 void X509Certificate::GetPublicKeyInfo(OSCertHandle cert_handle, 227 void X509Certificate::GetPublicKeyInfo(OSCertHandle cert_handle,
228 size_t* size_bits, 228 size_t* size_bits,
229 PublicKeyType* type) { 229 PublicKeyType* type) {
230 x509_util_ios::NSSCertificate nss_cert(cert_handle); 230 x509_util_ios::NSSCertificate nss_cert(cert_handle);
231 x509_util::GetPublicKeyInfo(nss_cert.cert_handle(), size_bits, type); 231 x509_util::GetPublicKeyInfo(nss_cert.cert_handle(), size_bits, type);
232 } 232 }
233 233
234 } // namespace net 234 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/x509_certificate.cc ('k') | net/cert/x509_certificate_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698