Chromium Code Reviews| 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. |
|
Ryan Sleevi
2012/12/11 21:30:24
We should not be creating a new platform-specific
digit1
2012/12/11 23:05:31
This is another consequence of the requirement for
| |
| 4 | 4 |
| 5 #include "net/base/ssl_cert_request_info.h" | 5 #include "net/base/ssl_cert_request_info.h" |
| 6 | 6 |
| 7 #include "net/base/x509_certificate.h" | 7 #include "net/base/x509_certificate.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| 11 SSLCertRequestInfo::SSLCertRequestInfo() : is_proxy(false) { | 11 SSLCertRequestInfo::SSLCertRequestInfo() : |
| 12 is_proxy(false), | |
| 13 no_client_certs(true) { | |
| 12 } | 14 } |
| 13 | 15 |
| 14 void SSLCertRequestInfo::Reset() { | 16 void SSLCertRequestInfo::Reset() { |
| 15 host_and_port.clear(); | 17 host_and_port.clear(); |
| 16 client_certs.clear(); | 18 client_certs.clear(); |
| 17 is_proxy = false; | 19 is_proxy = false; |
| 20 no_client_certs = true; | |
| 21 valid_cas.clear(); | |
| 22 valid_key_types.clear(); | |
| 18 } | 23 } |
| 19 | 24 |
| 20 SSLCertRequestInfo::~SSLCertRequestInfo() { | 25 SSLCertRequestInfo::~SSLCertRequestInfo() { |
| 21 } | 26 } |
| 22 | 27 |
| 23 } // namespace net | 28 } // namespace net |
| OLD | NEW |