| Index: content/browser/service_worker/service_worker_version.h
|
| diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
|
| index d5463c49f2e1cc0f4109c7662e0fccdb4e6dbbe1..cc534abaf3210d41d9e425ebe67671f84ab560a5 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -150,6 +150,13 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| void DispatchFetchEvent(const ServiceWorkerFetchRequest& request,
|
| const FetchCallback& callback);
|
|
|
| + // Sends sync event to the associated embedded worker and asynchronously calls
|
| + // |callback| when it errors out or it gets response from the worker to notify
|
| + // completion.
|
| + //
|
| + // This must be called when the status() is ACTIVE.
|
| + void DispatchSyncEvent(const StatusCallback& callback);
|
| +
|
| // These are expected to be called when a renderer process host for the
|
| // same-origin as for this ServiceWorkerVersion is created. The added
|
| // processes are used to run an in-renderer embedded worker.
|
|
|