OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_SSL_CERT_REQUEST_INFO_H_ | 5 #ifndef NET_BASE_SSL_CERT_REQUEST_INFO_H_ |
6 #define NET_BASE_SSL_CERT_REQUEST_INFO_H_ | 6 #define NET_BASE_SSL_CERT_REQUEST_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 // (255) | 30 // (255) |
31 // } ClientCertificateType; | 31 // } ClientCertificateType; |
32 // | 32 // |
33 // opaque DistinguishedName<1..2^16-1>; | 33 // opaque DistinguishedName<1..2^16-1>; |
34 // | 34 // |
35 // struct { | 35 // struct { |
36 // ClientCertificateType certificate_types<1..2^8-1>; | 36 // ClientCertificateType certificate_types<1..2^8-1>; |
37 // DistinguishedName certificate_authorities<3..2^16-1>; | 37 // DistinguishedName certificate_authorities<3..2^16-1>; |
38 // } CertificateRequest; | 38 // } CertificateRequest; |
39 std::vector<scoped_refptr<X509Certificate> > client_certs; | 39 std::vector<scoped_refptr<X509Certificate> > client_certs; |
| 40 |
| 41 private: |
| 42 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; |
| 43 |
| 44 ~SSLCertRequestInfo() {} |
40 }; | 45 }; |
41 | 46 |
42 } // namespace net | 47 } // namespace net |
43 | 48 |
44 #endif // NET_BASE_SSL_CERT_REQUEST_INFO_H_ | 49 #endif // NET_BASE_SSL_CERT_REQUEST_INFO_H_ |
OLD | NEW |