Chromium Code Reviews| Index: net/url_request/url_request_context.cc |
| =================================================================== |
| --- net/url_request/url_request_context.cc (revision 81709) |
| +++ net/url_request/url_request_context.cc (working copy) |
| @@ -58,6 +58,15 @@ |
| return EmptyString(); |
| } |
| +bool URLRequestContext::IsSNIAvailable() const { |
|
willchan no longer on Chromium
2011/04/29 19:09:46
This is purely dependent on the SSLConfigService.
|
| + if (!ssl_config_service_) |
| + return false; |
| + |
| + SSLConfig ssl_config; |
| + ssl_config_service_->GetSSLConfig(&ssl_config); |
| + return ssl_config.tls1_enabled; |
| +} |
| + |
| URLRequestContext::~URLRequestContext() { |
| } |