| Index: components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc
|
| diff --git a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc
|
| index f80c24c2fe93c5264edd79a57121c87b80a3333d..c8d4109d579a5f403c0bdc58b24d8205b926b7b7 100644
|
| --- a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc
|
| +++ b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc
|
| @@ -30,7 +30,7 @@ const int kWaitForInvalidationsTimeoutSeconds = 5;
|
|
|
| } // namespace
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(OS_IOS)
|
|
|
| const int64 CloudPolicyRefreshScheduler::kDefaultRefreshDelayMs =
|
| 24 * 60 * 60 * 1000; // 1 day.
|
| @@ -214,8 +214,8 @@ void CloudPolicyRefreshScheduler::UpdateLastRefreshFromPolicy() {
|
| return;
|
| }
|
|
|
| -#if defined(OS_ANDROID)
|
| - // Refreshing on Android:
|
| +#if defined(OS_ANDROID) || defined(OS_IOS)
|
| + // Refreshing on mobile platforms:
|
| // - if no user is signed-in then the |client_| is never registered and
|
| // nothing happens here.
|
| // - if the user is signed-in but isn't enterprise then the |client_| is
|
|
|