| Index: content/public/browser/service_worker_context.h
|
| diff --git a/content/public/browser/service_worker_context.h b/content/public/browser/service_worker_context.h
|
| index c095f9d1314c7fe028441bb19479c2f73d4fc99e..fcc08b1d1779c8952d085a1278c94689ca443650 100644
|
| --- a/content/public/browser/service_worker_context.h
|
| +++ b/content/public/browser/service_worker_context.h
|
| @@ -125,6 +125,11 @@ class ServiceWorkerContext {
|
| // This function can be called from any thread.
|
| virtual void StopAllServiceWorkersForOrigin(const GURL& origin) = 0;
|
|
|
| + // Kills all running workers on the given |origin| using
|
| + // RenderProcessHost.Shutdown with exit code RESULT_CODE_KILLED. The shutdowns
|
| + // are synchronous; this will wait for shutdowns to finish.
|
| + virtual void KillAllServiceWorkersForOrigin(const GURL& origin) = 0;
|
| +
|
| // Stops all running service workers and unregisters all service worker
|
| // registrations. This method is used in LayoutTests to make sure that the
|
| // existing service worker will not affect the succeeding tests.
|
|
|