| Index: chrome/browser/policy/profile_policy_connector.cc
|
| diff --git a/chrome/browser/policy/profile_policy_connector.cc b/chrome/browser/policy/profile_policy_connector.cc
|
| index a595184055a5f80411a9c776fccd7bb401a164a3..53c85a9848b0bbbff75f85121934c4e9b5207e8a 100644
|
| --- a/chrome/browser/policy/profile_policy_connector.cc
|
| +++ b/chrome/browser/policy/profile_policy_connector.cc
|
| @@ -98,11 +98,12 @@ void ProfilePolicyConnector::Init(
|
| #if defined(OS_CHROMEOS)
|
| if (!user) {
|
| DCHECK(schema_registry);
|
| - // This case occurs for the signin profile.
|
| + // This case occurs for the signin and the lock screen app profiles.
|
| special_user_policy_provider_.reset(
|
| new LoginProfilePolicyProvider(connector->GetPolicyService()));
|
| } else {
|
| - // |user| should never be nullptr except for the signin profile.
|
| + // |user| should never be nullptr except for the signin and the lock screen
|
| + // app profile.
|
| is_primary_user_ =
|
| user == user_manager::UserManager::Get()->GetPrimaryUser();
|
| // Note that |DeviceLocalAccountPolicyProvider::Create| returns nullptr when
|
| @@ -179,8 +180,8 @@ const CloudPolicyStore* ProfilePolicyConnector::GetActualPolicyStore() const {
|
| return policy_store_;
|
| #if defined(OS_CHROMEOS)
|
| if (special_user_policy_provider_) {
|
| - // |special_user_policy_provider_| is non-null for device-local accounts and
|
| - // for the login profile.
|
| + // |special_user_policy_provider_| is non-null for device-local accounts,
|
| + // for the login profile, and the lock screen app profile.
|
| const DeviceCloudPolicyManagerChromeOS* const device_cloud_policy_manager =
|
| g_browser_process->platform_part()
|
| ->browser_policy_connector_chromeos()
|
|
|