| 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 6aa97d4ef41737b4d5cf1f9ee92f91bc6cdb0835..6c2c36ff69974004167e7c09d2c64d5da8f8de07 100644
|
| --- a/content/common/service_worker/service_worker_types.h
|
| +++ b/content/common/service_worker/service_worker_types.h
|
| @@ -52,6 +52,10 @@ static const int64 kInvalidServiceWorkerResponseId = -1;
|
| 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;
|
| +
|
| // ServiceWorker provider type.
|
| enum ServiceWorkerProviderType {
|
| SERVICE_WORKER_PROVIDER_UNKNOWN,
|
|
|