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

Unified Diff: chrome/browser/profiles/profile_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: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index c80ec425d59a4e8c6d12333b787841c88c35adbc..f520e2a5f3a22815d93b4fa75c8fbd79d646cdba 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -442,11 +442,9 @@ ProfileImpl::ProfileImpl(
#else
cloud_policy_manager_ =
policy::UserCloudPolicyManagerFactory::CreateForOriginalBrowserContext(
- this,
- force_immediate_policy_load,
- sequenced_task_runner,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
+ this, force_immediate_policy_load, sequenced_task_runner,
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
#endif
profile_policy_connector_ =
policy::ProfilePolicyConnectorFactory::CreateForBrowserContext(
@@ -564,7 +562,7 @@ void ProfileImpl::DoFinalInit() {
ssl_config_service_manager_.reset(
ssl_config::SSLConfigServiceManager::CreateDefaultManager(
local_state,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)));
#if BUILDFLAG(ENABLE_BACKGROUND)
// Initialize the BackgroundModeManager - this has to be done here before
@@ -1287,5 +1285,5 @@ ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) {
return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>();
return service->CreateMonitor(
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
}
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698