Searched refs:responseTimestamp (Results 1 – 1 of 1) sorted by relevance
289 static double currentAge(const ResourceResponse& response, double responseTimestamp) in currentAge() argument294 double apparentAge = std::isfinite(dateValue) ? std::max(0., responseTimestamp - dateValue) : 0; in currentAge()297 double residentTime = currentTime() - responseTimestamp; in currentAge()301 static double freshnessLifetime(ResourceResponse& response, double responseTimestamp) in freshnessLifetime() argument320 double creationTime = std::isfinite(dateValue) ? dateValue : responseTimestamp; in freshnessLifetime()330 static bool canUseResponse(ResourceResponse& response, double responseTimestamp) in canUseResponse() argument353 … return currentAge(response, responseTimestamp) <= freshnessLifetime(response, responseTimestamp); in canUseResponse()