| Index: content/browser/service_worker/service_worker_handle.h
|
| diff --git a/content/browser/service_worker/service_worker_handle.h b/content/browser/service_worker/service_worker_handle.h
|
| index 5d202fac22051510ab0a22a65af24ca5b3195d90..1de8155ec6f16cf19a7f0e0f36ae3b520314b8fe 100644
|
| --- a/content/browser/service_worker/service_worker_handle.h
|
| +++ b/content/browser/service_worker/service_worker_handle.h
|
| @@ -33,15 +33,13 @@ class CONTENT_EXPORT ServiceWorkerHandle
|
| // Creates a handle for a live version. The version's corresponding
|
| // registration must be also alive.
|
| // This may return NULL if |context|.get() or |version| is NULL.
|
| - // |sender| will be used to send messages to the corresponding
|
| - // WebServiceWorkerImpl in the child process.
|
| static scoped_ptr<ServiceWorkerHandle> Create(
|
| base::WeakPtr<ServiceWorkerContextCore> context,
|
| - IPC::Sender* sender,
|
| + base::WeakPtr<ServiceWorkerProviderHost> provider_host,
|
| ServiceWorkerVersion* version);
|
|
|
| ServiceWorkerHandle(base::WeakPtr<ServiceWorkerContextCore> context,
|
| - IPC::Sender* sender,
|
| + base::WeakPtr<ServiceWorkerProviderHost> provider_host,
|
| ServiceWorkerRegistration* registration,
|
| ServiceWorkerVersion* version);
|
| ~ServiceWorkerHandle() override;
|
| @@ -61,7 +59,7 @@ class CONTENT_EXPORT ServiceWorkerHandle
|
|
|
| private:
|
| base::WeakPtr<ServiceWorkerContextCore> context_;
|
| - IPC::Sender* sender_; // Not owned, it should always outlive this.
|
| + base::WeakPtr<ServiceWorkerProviderHost> provider_host_;
|
| const int handle_id_;
|
| int ref_count_; // Created with 1.
|
| scoped_refptr<ServiceWorkerRegistration> registration_;
|
|
|