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

Unified Diff: chrome/browser/password_manager/password_store_factory.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: chrome/browser/password_manager/password_store_factory.cc
diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc
index a6829907fee807436b4732c447ef4f9ee9da1968..bb575a5022c3a7c90d0b02032029b35231649a1a 100644
--- a/chrome/browser/password_manager/password_store_factory.cc
+++ b/chrome/browser/password_manager/password_store_factory.cc
@@ -97,7 +97,7 @@ void PasswordStoreFactory::OnPasswordsSyncedStatePotentiallyChanged(
password_manager::ToggleAffiliationBasedMatchingBasedOnPasswordSyncedState(
password_store.get(), sync_service, request_context_getter,
- profile->GetPath(), content::BrowserThread::GetMessageLoopProxyForThread(
+ profile->GetPath(), content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::DB));
}
@@ -107,7 +107,7 @@ void PasswordStoreFactory::TrimOrDeleteAffiliationCache(Profile* profile) {
GetForProfile(profile, ServiceAccessType::EXPLICIT_ACCESS);
password_manager::TrimOrDeleteAffiliationCacheForStoreAndPath(
password_store.get(), profile->GetPath(),
- content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::DB));
}
@@ -156,7 +156,7 @@ PasswordStoreFactory::BuildServiceInstanceFor(
scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner(
base::ThreadTaskRunnerHandle::Get());
scoped_refptr<base::SingleThreadTaskRunner> db_thread_runner(
- content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::DB));
scoped_refptr<PasswordStore> ps;
« no previous file with comments | « chrome/browser/net/proxy_service_factory.cc ('k') | chrome/browser/password_manager/password_store_proxy_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698