| Index: chrome/browser/chromeos/login/signed_settings.cc
|
| diff --git a/chrome/browser/chromeos/login/signed_settings.cc b/chrome/browser/chromeos/login/signed_settings.cc
|
| index 6e90a9308f1e779d68c833abdb6e58ec79bccb11..46677e1faa2a14a6f9758d989092202f5a460f2b 100644
|
| --- a/chrome/browser/chromeos/login/signed_settings.cc
|
| +++ b/chrome/browser/chromeos/login/signed_settings.cc
|
| @@ -323,7 +323,8 @@ StorePropertyOp::StorePropertyOp(const std::string& name,
|
| StorePropertyOp::~StorePropertyOp() {}
|
|
|
| void StorePropertyOp::Execute() {
|
| - if (service_->GetStatus(true) != OwnershipService::OWNERSHIP_TAKEN) {
|
| + if (service_->GetStatus(true) != OwnershipService::OWNERSHIP_USER &&
|
| + service_->GetStatus(true) != OwnershipService::OWNERSHIP_ENTERPRISE) {
|
| if (g_browser_process &&
|
| g_browser_process->local_state() &&
|
| SignedSettingsTempStorage::Store(name_, value_,
|
| @@ -387,7 +388,8 @@ void RetrievePropertyOp::Execute() {
|
| // device has been owned and before temp_storage settings are finally
|
| // persisted into signed settings.
|
| // In this lapse of time Retrieve loses access to those settings.
|
| - if (service_->GetStatus(true) != OwnershipService::OWNERSHIP_TAKEN) {
|
| + if (service_->GetStatus(true) != OwnershipService::OWNERSHIP_USER &&
|
| + service_->GetStatus(true) != OwnershipService::OWNERSHIP_ENTERPRISE) {
|
| if (g_browser_process &&
|
| g_browser_process->local_state() &&
|
| SignedSettingsTempStorage::Retrieve(
|
|
|