| 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..15dfc59a440808dc849c505dcd9285fdf5903144 100644
|
| --- a/content/public/browser/service_worker_context.h
|
| +++ b/content/public/browser/service_worker_context.h
|
| @@ -145,6 +145,12 @@ class ServiceWorkerContext {
|
| int render_process_id,
|
| const ResultCallback& callback) = 0;
|
|
|
| + // Check if any service worker exists on the process specified by
|
| + // |render_process_id|. Must be called from the IO thread. Returns true if
|
| + // one or more service workers exist on the process and false if no worker
|
| + // resides.
|
| + virtual bool IsServiceWorkerExistsOnProcess(int render_process_id) = 0;
|
| +
|
| protected:
|
| ServiceWorkerContext() {}
|
| virtual ~ServiceWorkerContext() {}
|
|
|