| Index: net/base/ssl_config_service.cc
|
| ===================================================================
|
| --- net/base/ssl_config_service.cc (revision 112382)
|
| +++ net/base/ssl_config_service.cc (working copy)
|
| @@ -59,7 +59,6 @@
|
| }
|
|
|
| static bool g_cached_info_enabled = false;
|
| -static bool g_origin_bound_certs_enabled = false;
|
| static bool g_false_start_enabled = true;
|
| static bool g_dns_cert_provenance_checking = false;
|
| base::LazyInstance<scoped_refptr<CRLSet>,
|
| @@ -105,16 +104,6 @@
|
| return g_cached_info_enabled;
|
| }
|
|
|
| -// static
|
| -void SSLConfigService::EnableOriginBoundCerts() {
|
| - g_origin_bound_certs_enabled = true;
|
| -}
|
| -
|
| -// static
|
| -bool SSLConfigService::origin_bound_certs_enabled() {
|
| - return g_origin_bound_certs_enabled;
|
| -}
|
| -
|
| void SSLConfigService::AddObserver(Observer* observer) {
|
| observer_list_.AddObserver(observer);
|
| }
|
| @@ -132,7 +121,6 @@
|
| ssl_config->dns_cert_provenance_checking_enabled =
|
| g_dns_cert_provenance_checking;
|
| ssl_config->cached_info_enabled = g_cached_info_enabled;
|
| - ssl_config->origin_bound_certs_enabled = g_origin_bound_certs_enabled;
|
| }
|
|
|
| void SSLConfigService::ProcessConfigUpdate(const SSLConfig& orig_config,
|
| @@ -142,7 +130,9 @@
|
| (orig_config.ssl3_enabled != new_config.ssl3_enabled) ||
|
| (orig_config.tls1_enabled != new_config.tls1_enabled) ||
|
| (orig_config.disabled_cipher_suites !=
|
| - new_config.disabled_cipher_suites);
|
| + new_config.disabled_cipher_suites) ||
|
| + (orig_config.origin_bound_certs_enabled !=
|
| + new_config.origin_bound_certs_enabled);
|
|
|
| if (config_changed)
|
| FOR_EACH_OBSERVER(Observer, observer_list_, OnSSLConfigChanged());
|
|
|