summaryrefslogtreecommitdiffstats
path: root/webkit/appcache
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 /webkit/appcache
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 'webkit/appcache')
-rw-r--r--webkit/appcache/appcache_disk_cache.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_disk_cache.cc b/webkit/appcache/appcache_disk_cache.cc
index b8b25bf..bdaadfe 100644
--- a/webkit/appcache/appcache_disk_cache.cc
+++ b/webkit/appcache/appcache_disk_cache.cc
@@ -104,8 +104,10 @@ int AppCacheDiskCache::Init(net::CacheType cache_type,
is_disabled_ = false;
create_backend_callback_ = new CreateBackendCallback(
this, &AppCacheDiskCache::OnCreateBackendComplete);
+
+ // TODO(michaeln): Pass a valid cache_thread here.
int rv = disk_cache::CreateCacheBackend(
- cache_type, cache_directory, cache_size, force,
+ cache_type, cache_directory, cache_size, force, NULL,
&(create_backend_callback_->backend_ptr_), create_backend_callback_);
if (rv == net::ERR_IO_PENDING)
init_callback_ = callback;