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

Unified Diff: storage/browser/database/database_tracker.h

Issue 1120553002: [storage] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Nits Created 5 years, 8 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 | « storage/browser/database/database_quota_client.cc ('k') | storage/browser/database/database_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/database/database_tracker.h
diff --git a/storage/browser/database/database_tracker.h b/storage/browser/database/database_tracker.h
index f998b4b8d5dd9345fa80ab26f4e257dda28ad581..e9817a5e1f41b991bd6217a8e15914f73a51e8cd 100644
--- a/storage/browser/database/database_tracker.h
+++ b/storage/browser/database/database_tracker.h
@@ -23,7 +23,7 @@
#include "storage/common/database/database_connections.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace content {
@@ -105,7 +105,7 @@ class STORAGE_EXPORT DatabaseTracker
bool is_incognito,
storage::SpecialStoragePolicy* special_storage_policy,
storage::QuotaManagerProxy* quota_manager_proxy,
- base::MessageLoopProxy* db_tracker_thread);
+ base::SingleThreadTaskRunner* db_tracker_thread);
void DatabaseOpened(const std::string& origin_identifier,
const base::string16& database_name,
@@ -295,7 +295,7 @@ class STORAGE_EXPORT DatabaseTracker
scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_;
// The database tracker thread we're supposed to run file IO on.
- scoped_refptr<base::MessageLoopProxy> db_tracker_thread_;
+ scoped_refptr<base::SingleThreadTaskRunner> db_tracker_thread_;
// When in incognito mode, store a DELETE_ON_CLOSE handle to each
// main DB and journal file that was accessed. When the incognito profile
« no previous file with comments | « storage/browser/database/database_quota_client.cc ('k') | storage/browser/database/database_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698