| OLD | NEW |
| 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_SSL_SSL_CONFIG_SERVICE_H_ | 5 #ifndef NET_SSL_SSL_CONFIG_SERVICE_H_ |
| 6 #define NET_SSL_SSL_CONFIG_SERVICE_H_ | 6 #define NET_SSL_SSL_CONFIG_SERVICE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 bool false_start_enabled; // True if we'll use TLS False Start. | 100 bool false_start_enabled; // True if we'll use TLS False Start. |
| 101 // True if the Certificate Transparency signed_certificate_timestamp | 101 // True if the Certificate Transparency signed_certificate_timestamp |
| 102 // TLS extension is enabled. | 102 // TLS extension is enabled. |
| 103 bool signed_cert_timestamps_enabled; | 103 bool signed_cert_timestamps_enabled; |
| 104 | 104 |
| 105 // require_forward_secrecy, if true, causes only (EC)DHE cipher suites to be | 105 // require_forward_secrecy, if true, causes only (EC)DHE cipher suites to be |
| 106 // enabled. NOTE: this only applies to server sockets currently, although | 106 // enabled. NOTE: this only applies to server sockets currently, although |
| 107 // that could be extended if needed. | 107 // that could be extended if needed. |
| 108 bool require_forward_secrecy; | 108 bool require_forward_secrecy; |
| 109 | 109 |
| 110 // If |unrestricted_ssl3_fallback_enabled| is true, SSL 3.0 fallback will be | |
| 111 // enabled for all sites. | |
| 112 // If |unrestricted_ssl3_fallback_enabled| is false, SSL 3.0 fallback will be | |
| 113 // disabled for a site pinned to the Google pin list (indicating that it is a | |
| 114 // Google site). | |
| 115 bool unrestricted_ssl3_fallback_enabled; | |
| 116 | |
| 117 // TODO(wtc): move the following members to a new SSLParams structure. They | 110 // TODO(wtc): move the following members to a new SSLParams structure. They |
| 118 // are not SSL configuration settings. | 111 // are not SSL configuration settings. |
| 119 | 112 |
| 120 struct NET_EXPORT CertAndStatus { | 113 struct NET_EXPORT CertAndStatus { |
| 121 CertAndStatus(); | 114 CertAndStatus(); |
| 122 ~CertAndStatus(); | 115 ~CertAndStatus(); |
| 123 | 116 |
| 124 std::string der_cert; | 117 std::string der_cert; |
| 125 CertStatus cert_status; | 118 CertStatus cert_status; |
| 126 }; | 119 }; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 void ProcessConfigUpdate(const SSLConfig& orig_config, | 214 void ProcessConfigUpdate(const SSLConfig& orig_config, |
| 222 const SSLConfig& new_config); | 215 const SSLConfig& new_config); |
| 223 | 216 |
| 224 private: | 217 private: |
| 225 ObserverList<Observer> observer_list_; | 218 ObserverList<Observer> observer_list_; |
| 226 }; | 219 }; |
| 227 | 220 |
| 228 } // namespace net | 221 } // namespace net |
| 229 | 222 |
| 230 #endif // NET_SSL_SSL_CONFIG_SERVICE_H_ | 223 #endif // NET_SSL_SSL_CONFIG_SERVICE_H_ |
| OLD | NEW |