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

Unified Diff: chrome/browser/appcache/chrome_appcache_service.cc

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, 6 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 | « no previous file | webkit/appcache/appcache_disk_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/appcache/chrome_appcache_service.cc
===================================================================
--- chrome/browser/appcache/chrome_appcache_service.cc (revision 48989)
+++ chrome/browser/appcache/chrome_appcache_service.cc (working copy)
@@ -53,8 +53,7 @@
if (!has_initialized_thread_ids) {
has_initialized_thread_ids = true;
- appcache::AppCacheThread::Init(ChromeThread::DB, ChromeThread::IO,
- NULL); // TODO(michaeln): cache_thread
+ appcache::AppCacheThread::Init(ChromeThread::DB, ChromeThread::IO);
}
host_contents_settings_map_ = request_context->host_content_settings_map();
@@ -63,7 +62,8 @@
// Init our base class.
Initialize(request_context->is_off_the_record() ?
- FilePath() : profile_path.Append(chrome::kAppCacheDirname));
+ FilePath() : profile_path.Append(chrome::kAppCacheDirname),
+ ChromeThread::GetMessageLoopProxyForThread(ChromeThread::CACHE));
set_request_context(request_context);
set_appcache_policy(this);
}
« no previous file with comments | « no previous file | webkit/appcache/appcache_disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698