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

Side by Side Diff: net/base/ssl_cert_request_info.h

Issue 368001: Second patch in making destructors of refcounted objects private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698