| Index: net/http/http_cache_transaction.cc
|
| ===================================================================
|
| --- net/http/http_cache_transaction.cc (revision 62921)
|
| +++ net/http/http_cache_transaction.cc (working copy)
|
| @@ -625,6 +625,16 @@
|
| return rv;
|
|
|
| next_state_ = STATE_SEND_REQUEST_COMPLETE;
|
| + if (request_->url.SchemeIs("https") &&
|
| + SSLConfigService::snap_start_enabled()) {
|
| + // TODO(agl): in order to support AlternateProtocol there should probably
|
| + // be an object hanging off the HttpNetworkSession which constructs these.
|
| + // Note: when this test is removed, don't forget to remove the #include of
|
| + // ssl_config_service.h
|
| + scoped_refptr<DiskCacheBasedSSLHostInfo> hostinfo =
|
| + new DiskCacheBasedSSLHostInfo(request_->url.host(), cache_);
|
| + network_trans_->SetSSLHostInfo(hostinfo.get());
|
| + }
|
| rv = network_trans_->Start(request_, &io_callback_, net_log_);
|
| return rv;
|
| }
|
|
|