| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BASE_X509_CERTIFICATE_H_ | 5 #ifndef NET_BASE_X509_CERTIFICATE_H_ |
| 6 #define NET_BASE_X509_CERTIFICATE_H_ | 6 #define NET_BASE_X509_CERTIFICATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 typedef struct x509_st X509; | 31 typedef struct x509_st X509; |
| 32 typedef struct x509_store_st X509_STORE; | 32 typedef struct x509_store_st X509_STORE; |
| 33 #elif defined(USE_NSS) | 33 #elif defined(USE_NSS) |
| 34 // Forward declaration; real one in <cert.h> | 34 // Forward declaration; real one in <cert.h> |
| 35 struct CERTCertificateStr; | 35 struct CERTCertificateStr; |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 class Pickle; | 38 class Pickle; |
| 39 | 39 |
| 40 namespace crypto { | 40 namespace crypto { |
| 41 class StringPiece; | |
| 42 class RSAPrivateKey; | 41 class RSAPrivateKey; |
| 43 } // namespace crypto | 42 } // namespace crypto |
| 44 | 43 |
| 45 namespace net { | 44 namespace net { |
| 46 | 45 |
| 47 class CRLSet; | 46 class CRLSet; |
| 48 class CertVerifyResult; | 47 class CertVerifyResult; |
| 49 | 48 |
| 50 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; | 49 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; |
| 51 | 50 |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 // (Marked mutable because it's used in a const method.) | 558 // (Marked mutable because it's used in a const method.) |
| 560 mutable base::Lock verification_lock_; | 559 mutable base::Lock verification_lock_; |
| 561 #endif | 560 #endif |
| 562 | 561 |
| 563 DISALLOW_COPY_AND_ASSIGN(X509Certificate); | 562 DISALLOW_COPY_AND_ASSIGN(X509Certificate); |
| 564 }; | 563 }; |
| 565 | 564 |
| 566 } // namespace net | 565 } // namespace net |
| 567 | 566 |
| 568 #endif // NET_BASE_X509_CERTIFICATE_H_ | 567 #endif // NET_BASE_X509_CERTIFICATE_H_ |
| OLD | NEW |