| Index: content/browser/service_worker/service_worker_job_coordinator.h
|
| diff --git a/content/browser/service_worker/service_worker_job_coordinator.h b/content/browser/service_worker/service_worker_job_coordinator.h
|
| index 02ab6e38235102965318996e36080b5f3e612aed..4817a52fcbaabd7e61953dba04ef0985f4b35f4b 100644
|
| --- a/content/browser/service_worker/service_worker_job_coordinator.h
|
| +++ b/content/browser/service_worker/service_worker_job_coordinator.h
|
| @@ -55,6 +55,10 @@ class CONTENT_EXPORT ServiceWorkerJobCoordinator {
|
|
|
| bool empty() { return jobs_.empty(); }
|
|
|
| + // Marks that the browser is shutting down, so jobs may be destroyed before
|
| + // finishing.
|
| + void ClearForShutdown();
|
| +
|
| private:
|
| std::deque<ServiceWorkerRegisterJobBase*> jobs_;
|
| };
|
|
|