| 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 3009c9f708e78ccf8e1459608746627ebf14da04..7df40b3d0d008969a3f63b75086490f89ea66dc2 100644
|
| --- a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
|
| +++ b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
|
| @@ -28,6 +28,7 @@
|
| #include "chromeos/dbus/session_manager_client.h"
|
| #include "chromeos/settings/cros_settings_names.h"
|
| #include "chromeos/settings/cros_settings_provider.h"
|
| +#include "components/policy/core/browser/browser_policy_connector.h"
|
| #include "components/policy/core/common/cloud/cloud_policy_client.h"
|
| #include "components/policy/core/common/cloud/cloud_policy_constants.h"
|
| #include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h"
|
| @@ -125,6 +126,7 @@ DeviceLocalAccountPolicyBroker::DeviceLocalAccountPolicyBroker(
|
| user_id_(account.user_id),
|
| component_policy_cache_path_(component_policy_cache_path),
|
| store_(store.Pass()),
|
| + extension_tracker_(account, store_.get(), &schema_registry_),
|
| external_data_manager_(external_data_manager),
|
| core_(PolicyNamespaceKey(dm_protocol::kChromePublicAccountPolicyType,
|
| store_->account_id()),
|
| @@ -142,6 +144,9 @@ DeviceLocalAccountPolicyBroker::DeviceLocalAccountPolicyBroker(
|
|
|
| // Unblock the |schema_registry_| so that the |component_policy_service_|
|
| // starts using it.
|
| + schema_registry_.RegisterComponent(
|
| + PolicyNamespace(POLICY_DOMAIN_CHROME, ""),
|
| + g_browser_process->browser_policy_connector()->GetChromeSchema());
|
| schema_registry_.SetReady(POLICY_DOMAIN_CHROME);
|
| schema_registry_.SetReady(POLICY_DOMAIN_EXTENSIONS);
|
| }
|
|
|