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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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_util.cc ('k') | net/cert/x509_util_ios.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 // This file contains functions for iOS to glue NSS and Security.framework 5 // This file contains functions for iOS to glue NSS and Security.framework
6 // together. 6 // together.
7 7
8 #ifndef NET_BASE_X509_UTIL_IOS_H_ 8 #ifndef NET_CERT_X509_UTIL_IOS_H_
9 #define NET_BASE_X509_UTIL_IOS_H_ 9 #define NET_CERT_X509_UTIL_IOS_H_
10 10
11 #include <Security/Security.h> 11 #include <Security/Security.h>
12 #include <vector> 12 #include <vector>
13 13
14 #include "net/base/x509_cert_types.h" 14 #include "net/cert/x509_cert_types.h"
15 15
16 // Forward declaration; real one in <cert.h> 16 // Forward declaration; real one in <cert.h>
17 typedef struct CERTCertificateStr CERTCertificate; 17 typedef struct CERTCertificateStr CERTCertificate;
18 18
19 namespace net { 19 namespace net {
20 20
21 class X509Certificate; 21 class X509Certificate;
22 22
23 namespace x509_util_ios { 23 namespace x509_util_ios {
24 24
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ~NSSCertChain(); 62 ~NSSCertChain();
63 CERTCertificate* cert_handle() const; 63 CERTCertificate* cert_handle() const;
64 const std::vector<CERTCertificate*>& cert_chain() const; 64 const std::vector<CERTCertificate*>& cert_chain() const;
65 private: 65 private:
66 std::vector<CERTCertificate*> certs_; 66 std::vector<CERTCertificate*> certs_;
67 }; 67 };
68 68
69 } // namespace x509_util_ios 69 } // namespace x509_util_ios
70 } // namespace net 70 } // namespace net
71 71
72 #endif // NET_BASE_X509_UTIL_IOS_H_ 72 #endif // NET_CERT_X509_UTIL_IOS_H_
OLDNEW
« no previous file with comments | « net/cert/x509_util.cc ('k') | net/cert/x509_util_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698