| Index: chrome/browser/chromeos/arc/arc_session_manager.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_session_manager.cc b/chrome/browser/chromeos/arc/arc_session_manager.cc
|
| index 237e553a6bdf1b34559365d5201af5f83ef2616a..b3099bc64c28d3280742bc27c252dea5a30653ab 100644
|
| --- a/chrome/browser/chromeos/arc/arc_session_manager.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_session_manager.cc
|
| @@ -626,6 +626,17 @@ void ArcSessionManager::RequestDisable() {
|
| void ArcSessionManager::RequestArcDataRemoval() {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
| DCHECK(profile_);
|
| +
|
| + // The ArcAvailabilityPolicyStatus check is done to make sure the data is not
|
| + // removed if the device had ARC enabled and became disabled as result of
|
| + // migration to ext4 policy.
|
| + // TODO(igorcov): Remove ArcAvailabilityPolicyStatus check after migration.
|
| + // crbug.com/725493
|
| + if (arc::GetArcAvailabilityPolicyStatus() ==
|
| + arc::ArcAvailabilityPolicyStatus::DISABLED) {
|
| + return;
|
| + }
|
| +
|
| // TODO(hidehiko): DCHECK the previous state. This is called for four cases;
|
| // 1) Supporting managed user initial disabled case (Please see also
|
| // ArcPlayStoreEnabledPreferenceHandler::Start() for details).
|
|
|