| Index: chrome/browser/chromeos/settings/device_settings_provider.cc
|
| diff --git a/chrome/browser/chromeos/settings/device_settings_provider.cc b/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| index 18275e746fcba4089880bf3715c910220c78e3ae..9995e4cf4149d73a865ef3725dffe07b6e92880c 100644
|
| --- a/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| +++ b/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| @@ -495,10 +495,11 @@ void DeviceSettingsProvider::DecodeLoginPolicies(
|
| kAccountsPrefDeviceLocalAccountsKeyKioskAppUpdateURL,
|
| entry->kiosk_app().update_url());
|
| }
|
| - } else if (entry->has_id()) {
|
| + } else if (entry->has_deprecated_public_session_id()) {
|
| // Deprecated public session specification.
|
| entry_dict->SetStringWithoutPathExpansion(
|
| - kAccountsPrefDeviceLocalAccountsKeyId, entry->id());
|
| + kAccountsPrefDeviceLocalAccountsKeyId,
|
| + entry->deprecated_public_session_id());
|
| entry_dict->SetIntegerWithoutPathExpansion(
|
| kAccountsPrefDeviceLocalAccountsKeyType,
|
| DEVICE_LOCAL_ACCOUNT_TYPE_PUBLIC_SESSION);
|
|
|