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

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

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 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/x509_cert_types.h ('k') | net/cert/x509_util.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) 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_CERTIFICATE_H_ 5 #ifndef NET_CERT_X509_CERTIFICATE_H_
6 #define NET_CERT_X509_CERTIFICATE_H_ 6 #define NET_CERT_X509_CERTIFICATE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 24 matching lines...) Expand all
35 struct CERTCertificateStr; 35 struct CERTCertificateStr;
36 #endif 36 #endif
37 37
38 namespace base { 38 namespace base {
39 class Pickle; 39 class Pickle;
40 class PickleIterator; 40 class PickleIterator;
41 } 41 }
42 42
43 namespace net { 43 namespace net {
44 44
45 class CRLSet; 45 class X509Certificate;
46 class CertVerifyResult;
47 46
48 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; 47 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
49 48
50 // X509Certificate represents a X.509 certificate, which is comprised a 49 // X509Certificate represents a X.509 certificate, which is comprised a
51 // particular identity or end-entity certificate, such as an SSL server 50 // particular identity or end-entity certificate, such as an SSL server
52 // identity or an SSL client certificate, and zero or more intermediate 51 // identity or an SSL client certificate, and zero or more intermediate
53 // certificates that may be used to build a path to a root certificate. 52 // certificates that may be used to build a path to a root certificate.
54 class NET_EXPORT X509Certificate 53 class NET_EXPORT X509Certificate
55 : public base::RefCountedThreadSafe<X509Certificate> { 54 : public base::RefCountedThreadSafe<X509Certificate> {
56 public: 55 public:
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 // based on the type of the certificate. 468 // based on the type of the certificate.
470 std::string default_nickname_; 469 std::string default_nickname_;
471 #endif 470 #endif
472 471
473 DISALLOW_COPY_AND_ASSIGN(X509Certificate); 472 DISALLOW_COPY_AND_ASSIGN(X509Certificate);
474 }; 473 };
475 474
476 } // namespace net 475 } // namespace net
477 476
478 #endif // NET_CERT_X509_CERTIFICATE_H_ 477 #endif // NET_CERT_X509_CERTIFICATE_H_
OLDNEW
« no previous file with comments | « net/cert/x509_cert_types.h ('k') | net/cert/x509_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698