Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: webkit/appcache/appcache_disk_cache.h

Issue 2249005: AppCache: Use a dedicated thread for the disk cache. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Bound to IO thread Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/appcache/chrome_appcache_service.cc ('k') | webkit/appcache/appcache_disk_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_disk_cache.h
===================================================================
--- webkit/appcache/appcache_disk_cache.h (revision 48989)
+++ webkit/appcache/appcache_disk_cache.h (working copy)
@@ -29,6 +29,7 @@
// 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 @@
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_;
« no previous file with comments | « chrome/browser/appcache/chrome_appcache_service.cc ('k') | webkit/appcache/appcache_disk_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698