| Index: content/child/service_worker/service_worker_dispatcher.h
|
| diff --git a/content/child/service_worker/service_worker_dispatcher.h b/content/child/service_worker/service_worker_dispatcher.h
|
| index 6b591be404ea43a7f317e2031aefca7a8bcc05ac..fdb4d5943c637d122a73bfcc23f36a7792e900c6 100644
|
| --- a/content/child/service_worker/service_worker_dispatcher.h
|
| +++ b/content/child/service_worker/service_worker_dispatcher.h
|
| @@ -29,10 +29,11 @@ class Message;
|
| namespace content {
|
|
|
| class ServiceWorkerMessageFilter;
|
| -struct ServiceWorkerObjectInfo;
|
| class ServiceWorkerProviderContext;
|
| class ThreadSafeSender;
|
| class WebServiceWorkerImpl;
|
| +struct ServiceWorkerObjectInfo;
|
| +struct ServiceWorkerVersionAttributes;
|
|
|
| // This class manages communication with the browser process about
|
| // registration of the service worker, exposed to renderer and worker
|
| @@ -123,15 +124,10 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
|
| void OnServiceWorkerStateChanged(int thread_id,
|
| int handle_id,
|
| blink::WebServiceWorkerState state);
|
| - void OnSetInstallingServiceWorker(int thread_id,
|
| - int provider_id,
|
| - const ServiceWorkerObjectInfo& info);
|
| - void OnSetWaitingServiceWorker(int thread_id,
|
| - int provider_id,
|
| - const ServiceWorkerObjectInfo& info);
|
| - void OnSetActiveServiceWorker(int thread_id,
|
| - int provider_id,
|
| - const ServiceWorkerObjectInfo& info);
|
| + void OnSetVersionAttributes(int thread_id,
|
| + int provider_id,
|
| + int changed_mask,
|
| + const ServiceWorkerVersionAttributes& attributes);
|
| void OnSetControllerServiceWorker(int thread_id,
|
| int provider_id,
|
| const ServiceWorkerObjectInfo& info);
|
| @@ -141,6 +137,16 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
|
| const std::vector<int>& sent_message_port_ids,
|
| const std::vector<int>& new_routing_ids);
|
|
|
| + void SetInstallingServiceWorker(
|
| + int provider_id,
|
| + const ServiceWorkerObjectInfo& info);
|
| + void SetWaitingServiceWorker(
|
| + int provider_id,
|
| + const ServiceWorkerObjectInfo& info);
|
| + void SetActiveServiceWorker(
|
| + int provider_id,
|
| + const ServiceWorkerObjectInfo& info);
|
| +
|
| // Keeps map from handle_id to ServiceWorker object.
|
| void AddServiceWorker(int handle_id, WebServiceWorkerImpl* worker);
|
| void RemoveServiceWorker(int handle_id);
|
|
|