| 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 3cd643fbe7d06d468e80c3382067c83c7cfc2699..22dd3c5fb9fa30f3a8f4aa463fea17cc3a8790b0 100644
|
| --- a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
|
| +++ b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
|
| @@ -146,8 +146,7 @@ DeviceLocalAccountPolicyBroker::DeviceLocalAccountPolicyBroker(
|
| schema_registry_.RegisterComponent(
|
| PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()),
|
| g_browser_process->browser_policy_connector()->GetChromeSchema());
|
| - schema_registry_.SetReady(POLICY_DOMAIN_CHROME);
|
| - schema_registry_.SetReady(POLICY_DOMAIN_EXTENSIONS);
|
| + schema_registry_.SetAllDomainsReady();
|
| }
|
|
|
| DeviceLocalAccountPolicyBroker::~DeviceLocalAccountPolicyBroker() {
|
| @@ -234,9 +233,10 @@ void DeviceLocalAccountPolicyBroker::CreateComponentCloudPolicyService(
|
| content::BrowserThread::FILE)));
|
|
|
| component_policy_service_.reset(new ComponentCloudPolicyService(
|
| - this, &schema_registry_, core(), client, std::move(resource_cache),
|
| - request_context, content::BrowserThread::GetTaskRunnerForThread(
|
| - content::BrowserThread::FILE),
|
| + dm_protocol::kChromeExtensionPolicyType, this, &schema_registry_, core(),
|
| + client, std::move(resource_cache), request_context,
|
| + content::BrowserThread::GetTaskRunnerForThread(
|
| + content::BrowserThread::FILE),
|
| content::BrowserThread::GetTaskRunnerForThread(
|
| content::BrowserThread::IO)));
|
| }
|
|
|