summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/chrome_url_request_context.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 19:14:29 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 19:14:29 +0000
commite7b60a742d466731f93ace36be1de2ca966d4457 (patch)
tree013a8f0a8d586e2d151e127c280cb433a2f9d4ad /chrome/browser/net/chrome_url_request_context.cc
parent97e1958e5fdacf588ba0588729379749569d5ec1 (diff)
downloadchromium_src-e7b60a742d466731f93ace36be1de2ca966d4457.zip
chromium_src-e7b60a742d466731f93ace36be1de2ca966d4457.tar.gz
chromium_src-e7b60a742d466731f93ace36be1de2ca966d4457.tar.bz2
Http cache: Add support for a dedicated cache thread.
This is an interface-only change, nothing is really moving to another thread yet. BUG=26730 TEST=none Review URL: http://codereview.chromium.org/983007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/chrome_url_request_context.cc')
-rw-r--r--chrome/browser/net/chrome_url_request_context.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.cc b/chrome/browser/net/chrome_url_request_context.cc
index 3a25f71..0dad578 100644
--- a/chrome/browser/net/chrome_url_request_context.cc
+++ b/chrome/browser/net/chrome_url_request_context.cc
@@ -252,7 +252,7 @@ ChromeURLRequestContext* FactoryForOriginal::Create() {
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 @@ ChromeURLRequestContext* FactoryForMedia::Create() {
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 @@ ChromeURLRequestContext* FactoryForMedia::Create() {
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(