Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1798)

Unified Diff: chrome/browser/net/chrome_url_request_context.cc

Issue 983007: Http cache: Add support for a dedicated cache thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.cc
===================================================================
--- chrome/browser/net/chrome_url_request_context.cc (revision 45869)
+++ chrome/browser/net/chrome_url_request_context.cc (working copy)
@@ -252,7 +252,7 @@
context->proxy_service(),
context->ssl_config_service(),
context->http_auth_handler_factory(),
- disk_cache_path_, cache_size_);
+ disk_cache_path_, NULL, cache_size_);
if (command_line.HasSwitch(switches::kDisableByteRangeSupport))
cache->set_enable_range_support(false);
@@ -451,7 +451,7 @@
net::HttpNetworkLayer* main_network_layer =
static_cast<net::HttpNetworkLayer*>(main_cache->network_layer());
cache = new net::HttpCache(main_network_layer->GetSession(),
- disk_cache_path_, cache_size_);
+ disk_cache_path_, NULL, cache_size_);
// TODO(eroman): Since this is poaching the session from the main
// context, it should hold a reference to that context preventing the
// session from getting deleted.
@@ -464,7 +464,7 @@
main_context->proxy_service(),
main_context->ssl_config_service(),
main_context->http_auth_handler_factory(),
- disk_cache_path_, cache_size_);
+ disk_cache_path_, NULL, cache_size_);
}
if (CommandLine::ForCurrentProcess()->HasSwitch(
« no previous file with comments | « no previous file | net/disk_cache/backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698