Index: content/common/service_worker/service_worker_types.h |
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h |
index cfef416e1af4b5da726e611e489abeb3e291192e..b81a05bcb10b50a4cd5b643eeb8b1a4281216e2c 100644 |
--- a/content/common/service_worker/service_worker_types.h |
+++ b/content/common/service_worker/service_worker_types.h |
@@ -55,8 +55,8 @@ static const int kInvalidEmbeddedWorkerThreadId = -1; |
static const int kInvalidServiceWorkerClientId = 0; |
// The HTTP cache is bypassed for Service Worker scripts if the last network |
-// fetch occurred over 24 hours ago. |
-static const int kServiceWorkerScriptMaxCacheAgeInHours = 24; |
+// fetch occurred over min(SW's max-age, 86400) seconds ago. |
+static const int kServiceWorkerScriptMaxCacheAgeInSeconds = 86400; |
// ServiceWorker provider type. |
enum ServiceWorkerProviderType { |