diff options
Diffstat (limited to 'net/http/http_cache.cc')
-rw-r--r-- | net/http/http_cache.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc index b82795c..fbc2b0f 100644 --- a/net/http/http_cache.cc +++ b/net/http/http_cache.cc @@ -916,20 +916,20 @@ void HttpCache::Transaction::OnCacheReadCompleted(int result) { //----------------------------------------------------------------------------- -HttpCache::HttpCache(const ProxyInfo* proxy_info, +HttpCache::HttpCache(ProxyService* proxy_service, const std::wstring& cache_dir, int cache_size) : disk_cache_dir_(cache_dir), mode_(NORMAL), - network_layer_(HttpNetworkLayer::CreateFactory(proxy_info)), + network_layer_(HttpNetworkLayer::CreateFactory(proxy_service)), ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)), in_memory_cache_(false), cache_size_(cache_size) { } -HttpCache::HttpCache(const ProxyInfo* proxy_info, int cache_size) +HttpCache::HttpCache(ProxyService* proxy_service, int cache_size) : mode_(NORMAL), - network_layer_(HttpNetworkLayer::CreateFactory(proxy_info)), + network_layer_(HttpNetworkLayer::CreateFactory(proxy_service)), ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)), in_memory_cache_(true), cache_size_(cache_size) { |