| Index: chrome/browser/web_resource/promo_resource_service.cc
|
| diff --git a/chrome/browser/web_resource/promo_resource_service.cc b/chrome/browser/web_resource/promo_resource_service.cc
|
| index 3766e96b31ef8ccc063a3a4ab0f73eb903472424..cf6b106f9f05ab87dc3eaabb46a4652526dad417 100644
|
| --- a/chrome/browser/web_resource/promo_resource_service.cc
|
| +++ b/chrome/browser/web_resource/promo_resource_service.cc
|
| @@ -24,9 +24,9 @@ namespace {
|
| // Delay on first fetch so we don't interfere with startup.
|
| static const int kStartResourceFetchDelay = 5000;
|
|
|
| -// Delay between calls to update the cache (12h), and 10s in debug mode.
|
| +// Delay between calls to update the cache (12 hours), and 3 min in debug mode.
|
| static const int kCacheUpdateDelay = 12 * 60 * 60 * 1000;
|
| -static const int kTestCacheUpdateDelay = 10 * 1000;
|
| +static const int kTestCacheUpdateDelay = 3 * 60 * 1000;
|
|
|
| // The version of the service (used to expire the cache when upgrading Chrome
|
| // to versions with different types of promos).
|
| @@ -180,7 +180,7 @@ std::string PromoResourceService::GetPromoLocale() {
|
| void PromoResourceService::Unpack(const DictionaryValue& parsed_json) {
|
| NotificationPromo notification_promo(profile_);
|
| NotificationPromo::PromoType promo_type =
|
| -#if !defined(OS_ANDROID)
|
| +#if !defined(OS_ANDROID) && !defined(OS_IOS)
|
| NotificationPromo::NTP_NOTIFICATION_PROMO;
|
| #else
|
| NotificationPromo::MOBILE_NTP_SYNC_PROMO;
|
|
|