diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-07 22:42:01 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-07 22:42:01 +0000 |
commit | f5ad47a18ebe1dfe2656588776557c3a702faf56 (patch) | |
tree | 75e5599ad5d40d9972cf8ae8973df9a9853b316a /webkit/appcache/appcache_service.h | |
parent | ce940f01fdcd216b90e5005f840d3df5d19190cd (diff) | |
download | chromium_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.h')
-rw-r--r-- | webkit/appcache/appcache_service.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_service.h b/webkit/appcache/appcache_service.h index 7ccdeea..ac5aa4a 100644 --- a/webkit/appcache/appcache_service.h +++ b/webkit/appcache/appcache_service.h @@ -19,6 +19,10 @@ class URLRequestContext; +namespace base { +class MessageLoopProxy; +} + namespace appcache { class AppCacheBackendImpl; @@ -62,7 +66,8 @@ class AppCacheService { AppCacheService(); virtual ~AppCacheService(); - void Initialize(const FilePath& cache_directory); + void Initialize(const FilePath& cache_directory, + base::MessageLoopProxy* cache_thread); // Purges any memory not needed. void PurgeMemory() { |