diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 13:28:28 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-18 13:28:28 +0000 |
commit | 8281f7022c819a13d5d1741d2c1ff73aa4e994a9 (patch) | |
tree | 7fcb40be8d7a09b8a55800250a14d496fce5646c /net/http/http_cache.h | |
parent | 46aeaa8e2c32a014c9d4641ceb6e75954f0bb3a0 (diff) | |
download | chromium_src-8281f7022c819a13d5d1741d2c1ff73aa4e994a9.zip chromium_src-8281f7022c819a13d5d1741d2c1ff73aa4e994a9.tar.gz chromium_src-8281f7022c819a13d5d1741d2c1ff73aa4e994a9.tar.bz2 |
net: clean up SSLHostInfo construction.
Create an SSLHostInfoFactory interface and plumb it from the HttpCache
to the SSLConnectJob. Also, move the SSLHostInfo reference from the
ssl_config to being passed to the SSLClientSocket.
BUG=none
TEST=net_unittests
Review URL: http://codereview.chromium.org/3747003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r-- | net/http/http_cache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h index 775d035..1406cd0 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -116,7 +116,7 @@ class HttpCache : public HttpTransactionFactory, }; // The disk cache is initialized lazily (by CreateTransaction) in this case. - // The HttpCache takes ownership of the |backend_factory|. + // The HttpCache takes ownership of the |backend_factory|. HttpCache(HostResolver* host_resolver, DnsRRResolver* dnsrr_resolver, ProxyService* proxy_service, @@ -200,6 +200,7 @@ class HttpCache : public HttpTransactionFactory, class BackendCallback; class MetadataWriter; + class SSLHostInfoFactoryAdaptor; class Transaction; class WorkItem; friend class Transaction; @@ -353,6 +354,8 @@ class HttpCache : public HttpTransactionFactory, Mode mode_; + scoped_ptr<SSLHostInfoFactoryAdaptor> ssl_host_info_factory_; + scoped_ptr<HttpTransactionFactory> network_layer_; scoped_ptr<disk_cache::Backend> disk_cache_; |