Home
last modified time | relevance | path

Searched refs:cache_state (Results 1 – 1 of 1) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dclient_side_detection_service.cc376 const CacheState& cache_state = *it->second; in GetValidCachedResult() local
377 if (cache_state.is_phishing ? in GetValidCachedResult()
378 cache_state.timestamp > base::Time::Now() - kPositiveCacheInterval : in GetValidCachedResult()
379 cache_state.timestamp > base::Time::Now() - kNegativeCacheInterval) { in GetValidCachedResult()
380 *is_phishing = cache_state.is_phishing; in GetValidCachedResult()
398 const CacheState& cache_state = *it->second; in UpdateCache() local
399 if (cache_state.is_phishing ? in UpdateCache()
400 cache_state.timestamp > base::Time::Now() - positive_cache_interval : in UpdateCache()
401 cache_state.timestamp > base::Time::Now() - negative_cache_interval) { in UpdateCache()