From e7b60a742d466731f93ace36be1de2ca966d4457 Mon Sep 17 00:00:00 2001 From: "rvargas@google.com" Date: Thu, 29 Apr 2010 19:14:29 +0000 Subject: 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 --- webkit/appcache/appcache_disk_cache.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webkit/appcache') 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; -- cgit v1.1