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

Unified Diff: content/browser/appcache/appcache_storage_impl.h

Issue 2940023002: TaskScheduler: migrate appcache database over to use it. (Closed)
Patch Set: comments + rebase Created 3 years, 5 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
Index: content/browser/appcache/appcache_storage_impl.h
diff --git a/content/browser/appcache/appcache_storage_impl.h b/content/browser/appcache/appcache_storage_impl.h
index 067b3e65eec129e2caf3f0f2536e2144aa90a59f..cde701e10252467be7f2b31789f036a7ff2274b9 100644
--- a/content/browser/appcache/appcache_storage_impl.h
+++ b/content/browser/appcache/appcache_storage_impl.h
@@ -38,7 +38,7 @@ class AppCacheStorageImpl : public AppCacheStorage {
void Initialize(
const base::FilePath& cache_directory,
- const scoped_refptr<base::SingleThreadTaskRunner>& db_thread,
+ const scoped_refptr<base::SequencedTaskRunner>& db_task_runner,
const scoped_refptr<base::SingleThreadTaskRunner>& cache_thread);
void Disable();
bool is_disabled() const { return is_disabled_; }
@@ -156,7 +156,7 @@ class AppCacheStorageImpl : public AppCacheStorage {
// This class operates primarily on the IO thread, but schedules
// its DatabaseTasks on the db thread. Separately, the disk_cache uses
// the cache thread.
- scoped_refptr<base::SingleThreadTaskRunner> db_thread_;
+ scoped_refptr<base::SequencedTaskRunner> db_task_runner_;
scoped_refptr<base::SingleThreadTaskRunner> cache_thread_;
// Structures to keep track of DatabaseTasks that are in-flight.
« no previous file with comments | « content/browser/appcache/appcache_service_unittest.cc ('k') | content/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698