| 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 1c6b529b06fde6a8bf23485948760e6f2568e156..08da5802c2ee52874139b9c8491506f2af0e9e49 100644
|
| --- a/content/child/service_worker/service_worker_dispatcher.h
|
| +++ b/content/child/service_worker/service_worker_dispatcher.h
|
| @@ -113,17 +113,10 @@ class CONTENT_EXPORT ServiceWorkerDispatcher : public WorkerThread::Observer {
|
| blink::WebServiceWorkerProviderClient* client);
|
| void RemoveProviderClient(int provider_id);
|
|
|
| - // Returns the existing service worker or a newly created one. When a new one
|
| - // is created, increments an interprocess reference to the service worker via
|
| - // ServiceWorkerHandleReference. Returns nullptr if the given info is invalid.
|
| + // Returns the existing service worker or a newly created one with the given
|
| + // handle reference. Returns nullptr if the given reference is invalid.
|
| scoped_refptr<WebServiceWorkerImpl> GetOrCreateServiceWorker(
|
| - const ServiceWorkerObjectInfo& info);
|
| -
|
| - // Returns the existing service worker or a newly created one. Always adopts
|
| - // an interprocess reference to the service worker via
|
| - // ServiceWorkerHandleReference. Returns nullptr if the given info is invalid.
|
| - scoped_refptr<WebServiceWorkerImpl> GetOrAdoptServiceWorker(
|
| - const ServiceWorkerObjectInfo& info);
|
| + scoped_ptr<ServiceWorkerHandleReference> handle_ref);
|
|
|
| // Returns the existing registration or a newly created one. When a new one is
|
| // created, increments interprocess references to the registration and its
|
|
|