| Index: content/browser/service_worker/service_worker_dispatcher_host.h
|
| diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
|
| index 81dac6e5759ca863436157c10104e520ed8bc6a4..7a914029bb4a20f77b146623892bdf0aee1898e2 100644
|
| --- a/content/browser/service_worker/service_worker_dispatcher_host.h
|
| +++ b/content/browser/service_worker/service_worker_dispatcher_host.h
|
| @@ -64,9 +64,8 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
|
| ServiceWorkerHandle* FindServiceWorkerHandle(int provider_id,
|
| int64 version_id);
|
|
|
| - // Returns the existing registration handle whose reference count is
|
| - // incremented or newly created one if it doesn't exist.
|
| - ServiceWorkerRegistrationHandle* GetOrCreateRegistrationHandle(
|
| + // Creates a new registration handle and registers it.
|
| + ServiceWorkerRegistrationHandle* CreateRegistrationHandle(
|
| base::WeakPtr<ServiceWorkerProviderHost> provider_host,
|
| ServiceWorkerRegistration* registration);
|
|
|
| @@ -136,10 +135,6 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
|
| void OnServiceWorkerObjectDestroyed(int handle_id);
|
| void OnTerminateWorker(int handle_id);
|
|
|
| - ServiceWorkerRegistrationHandle* FindRegistrationHandle(
|
| - int provider_id,
|
| - int64 registration_id);
|
| -
|
| void GetRegistrationObjectInfoAndVersionAttributes(
|
| base::WeakPtr<ServiceWorkerProviderHost> provider_host,
|
| ServiceWorkerRegistration* registration,
|
|
|