Lines Matching full:days
64 static const int kMaxUpdateFrequencySeconds = 60 * 60 * 24 * 7; // 7 days
86 // looks like r=DAYS or a=DAYS for extensions in the Chrome extensions gallery.
89 // the number of days since the last time it was present in an update check.
179 // When we've computed a days value, we want to make sure we don't send a
183 static int SanitizeDays(int days) {
184 if (days < 0)
186 return days;
189 // Calculates the value to use for the ping days parameter.
191 int days = ManifestFetchData::kNeverPinged;
193 days = SanitizeDays((Time::Now() - last_ping_day).InDays());
195 return days;
527 int days = (now - last).InDays();
528 if (days >= 30) {
532 } else if (days >= 14) {
536 } else if (days >= 3) {