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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_policy_service.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/chromeos/policy/device_local_account_policy_service.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
index a551e91586448ecd925774c56b24e1dc8dc52715..1afb80a7aba416dc2899fc851e26bdd0b308727d 100644
--- a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
@@ -232,14 +232,14 @@ void DeviceLocalAccountPolicyBroker::CreateComponentCloudPolicyService(
std::unique_ptr<ResourceCache> resource_cache(
new ResourceCache(component_policy_cache_path_,
- content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE)));
component_policy_service_.reset(new ComponentCloudPolicyService(
this, &schema_registry_, core(), client, std::move(resource_cache),
- request_context, content::BrowserThread::GetMessageLoopProxyForThread(
+ request_context, content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE),
- content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::IO)));
}

Powered by Google App Engine
This is Rietveld 408576698