Searched defs:cache_lifetime (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
H A Dprotocol_parser_unittest.cc381 base::TimeDelta cache_lifetime; local
383 &cache_lifetime, &full_hashes));
407 &cache_lifetime, &full_hashes));
434 &cache_lifetime, &full_hashes));
458 base::TimeDelta cache_lifetime; local
461 &cache_lifetime,
474 &cache_lifetime,
H A Dprotocol_parser.cc149 base::TimeDelta* cache_lifetime,
169 *cache_lifetime = base::TimeDelta::FromSeconds(cache_lifetime_seconds);
147 ParseGetHash(const char* chunk_data, size_t chunk_len, base::TimeDelta* cache_lifetime, std::vector<SBFullHashResult>* full_hashes) argument
H A Dprotocol_manager.cc233 base::TimeDelta cache_lifetime; local
249 data.data(), data.length(), &cache_lifetime, &full_hashes)) {
252 // TODO(cbentzel): Should cache_lifetime be set to 0 here? (See
271 details.callback.Run(full_hashes, cache_lifetime);
H A Ddatabase_manager.cc466 const base::TimeDelta& cache_lifetime) {
485 if (cache_lifetime != base::TimeDelta() && MakeDatabaseAvailable())
486 database_->CacheHashResults(prefixes, full_hashes, cache_lifetime);
463 HandleGetHashResults( SafeBrowsingCheck* check, const std::vector<SBFullHashResult>& full_hashes, const base::TimeDelta& cache_lifetime) argument
H A Dsafe_browsing_database.cc940 const base::TimeDelta& cache_lifetime) {
941 const base::Time expire_after = base::Time::Now() + cache_lifetime;
937 CacheHashResults( const std::vector<SBPrefix>& prefixes, const std::vector<SBFullHashResult>& full_hits, const base::TimeDelta& cache_lifetime) argument

Completed in 131 milliseconds