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: content/browser/storage_partition_impl.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/storage_partition_impl.cc
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index da339fead254c8c3c96fb58494a65231ab66b343..dccf4652bc8f3ee5a2a56a97817f1e0133b950bc 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -441,10 +441,9 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
// that utilizes the QuotaManager.
scoped_refptr<storage::QuotaManager> quota_manager =
new storage::QuotaManager(
- in_memory,
- partition_path,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get(),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB).get(),
+ in_memory, partition_path,
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO).get(),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::DB).get(),
context->GetSpecialStoragePolicy());
// Each consumer is responsible for registering its QuotaClient during
@@ -454,12 +453,10 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
context, partition_path, in_memory, quota_manager->proxy());
scoped_refptr<storage::DatabaseTracker> database_tracker =
- new storage::DatabaseTracker(partition_path,
- in_memory,
- context->GetSpecialStoragePolicy(),
- quota_manager->proxy(),
- BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::FILE).get());
+ new storage::DatabaseTracker(
+ partition_path, in_memory, context->GetSpecialStoragePolicy(),
+ quota_manager->proxy(),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE).get());
scoped_refptr<DOMStorageContextWrapper> dom_storage_context =
new DOMStorageContextWrapper(
« no previous file with comments | « content/browser/speech/speech_recognition_browsertest.cc ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698