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_disk_cache.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_disk_cache.h')
-rw-r--r-- | webkit/appcache/appcache_disk_cache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_disk_cache.h b/webkit/appcache/appcache_disk_cache.h index c295067..f78a607d 100644 --- a/webkit/appcache/appcache_disk_cache.h +++ b/webkit/appcache/appcache_disk_cache.h @@ -29,6 +29,7 @@ class AppCacheDiskCache { // Initializes the object to use disk backed storage. int InitWithDiskBackend(const FilePath& disk_cache_directory, int disk_cache_size, bool force, + base::MessageLoopProxy* cache_thread, net::CompletionCallback* callback); // Initializes the object to use memory only storage. @@ -85,7 +86,8 @@ class AppCacheDiskCache { return create_backend_callback_.get() != NULL; } int Init(net::CacheType cache_type, const FilePath& directory, - int cache_size, bool force, net::CompletionCallback* callback); + int cache_size, bool force, base::MessageLoopProxy* cache_thread, + net::CompletionCallback* callback); void OnCreateBackendComplete(int rv); bool is_disabled_; |