Lines Matching defs:days
57 const int kMaxUpdateFrequencySeconds = 60 * 60 * 24 * 7; // 7 days
63 // When we've computed a days value, we want to make sure we don't send a
67 int SanitizeDays(int days) {
68 if (days < 0)
70 return days;
73 // Calculates the value to use for the ping days parameter.
75 int days = extensions::ManifestFetchData::kNeverPinged;
77 days = SanitizeDays((Time::Now() - last_ping_day).InDays());
79 return days;
176 int days = (now - last).InDays();
177 if (days >= 30) {
181 } else if (days >= 14) {
185 } else if (days >= 3) {