summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_service.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 22:42:01 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-07 22:42:01 +0000
commitf5ad47a18ebe1dfe2656588776557c3a702faf56 (patch)
tree75e5599ad5d40d9972cf8ae8973df9a9853b316a /webkit/appcache/appcache_service.cc
parentce940f01fdcd216b90e5005f840d3df5d19190cd (diff)
downloadchromium_src-f5ad47a18ebe1dfe2656588776557c3a702faf56.zip
chromium_src-f5ad47a18ebe1dfe2656588776557c3a702faf56.tar.gz
chromium_src-f5ad47a18ebe1dfe2656588776557c3a702faf56.tar.bz2
AppCache: Use a dedicated thread for the disk cache.
BUG=26730 TEST=current tests Review URL: http://codereview.chromium.org/2249005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_service.cc')
-rw-r--r--webkit/appcache/appcache_service.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_service.cc b/webkit/appcache/appcache_service.cc
index a6bc24a..bf8fba2 100644
--- a/webkit/appcache/appcache_service.cc
+++ b/webkit/appcache/appcache_service.cc
@@ -143,10 +143,11 @@ AppCacheService::~AppCacheService() {
STLDeleteElements(&pending_helpers_);
}
-void AppCacheService::Initialize(const FilePath& cache_directory) {
+void AppCacheService::Initialize(const FilePath& cache_directory,
+ base::MessageLoopProxy* cache_thread) {
DCHECK(!storage_.get());
AppCacheStorageImpl* storage = new AppCacheStorageImpl(this);
- storage->Initialize(cache_directory);
+ storage->Initialize(cache_directory, cache_thread);
storage_.reset(storage);
}