Chromium Code Reviews| Index: content/browser/service_worker/service_worker_context_core.h |
| diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h |
| index 295ad7cdc65f4e20cfa81e6059115688aeb9f647..a94a5ae1a29dc5ecda786094adf2799bbd3d44c4 100644 |
| --- a/content/browser/service_worker/service_worker_context_core.h |
| +++ b/content/browser/service_worker/service_worker_context_core.h |
| @@ -178,11 +178,16 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
| const RegistrationCallback& callback); |
| void UnregisterServiceWorker(const GURL& pattern, |
| const UnregistrationCallback& callback); |
| + |
| // Callback is called issued after all unregistrations occur. The Status |
| // is populated as SERVICE_WORKER_OK if all succeed, or SERVICE_WORKER_FAILED |
| // if any did not succeed. |
| void UnregisterServiceWorkers(const GURL& origin, |
| const UnregistrationCallback& callback); |
| + |
| + // Updates the service worker. If |force_bypass_cache| is true or 86400 |
| + // seconds (24 hours) have passed since the last update, bypasses the browser |
|
falken
2015/10/01 12:31:48
"86400 seconds" seems like trivia not useful in th
jungkees
2015/10/02 06:19:19
Done.
|
| + // cache. |
| void UpdateServiceWorker(ServiceWorkerRegistration* registration, |
| bool force_bypass_cache); |
| void UpdateServiceWorker(ServiceWorkerRegistration* registration, |