| 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 0e57d9174171d20132a6510665cd74b7f011838c..d6671bc8623ea783293a9a0b97ea1de823a2c4fc 100644
|
| --- a/content/browser/service_worker/service_worker_handle.h
|
| +++ b/content/browser/service_worker/service_worker_handle.h
|
| @@ -40,11 +40,13 @@ class CONTENT_EXPORT ServiceWorkerHandle
|
| base::WeakPtr<ServiceWorkerContextCore> context,
|
| IPC::Sender* sender,
|
| int thread_id,
|
| + int provider_id,
|
| ServiceWorkerVersion* version);
|
|
|
| ServiceWorkerHandle(base::WeakPtr<ServiceWorkerContextCore> context,
|
| IPC::Sender* sender,
|
| int thread_id,
|
| + int provider_id,
|
| ServiceWorkerRegistration* registration,
|
| ServiceWorkerVersion* version);
|
| virtual ~ServiceWorkerHandle();
|
| @@ -68,6 +70,7 @@ class CONTENT_EXPORT ServiceWorkerHandle
|
| ServiceWorkerObjectInfo GetObjectInfo();
|
|
|
| int thread_id() const { return thread_id_; }
|
| + int provider_id() const { return provider_id_; }
|
| int handle_id() const { return handle_id_; }
|
| ServiceWorkerRegistration* registration() { return registration_.get(); }
|
| ServiceWorkerVersion* version() { return version_.get(); }
|
| @@ -80,6 +83,7 @@ class CONTENT_EXPORT ServiceWorkerHandle
|
| base::WeakPtr<ServiceWorkerContextCore> context_;
|
| IPC::Sender* sender_; // Not owned, it should always outlive this.
|
| const int thread_id_;
|
| + const int provider_id_;
|
| const int handle_id_;
|
| int ref_count_; // Created with 1.
|
| scoped_refptr<ServiceWorkerRegistration> registration_;
|
|
|