| 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 f7844e28da65b212ad3b320806985706822b346f..23453d55f5e78e07ab3c0f921b30d8aac14fed8e 100644
|
| --- a/content/browser/service_worker/service_worker_dispatcher_host.h
|
| +++ b/content/browser/service_worker/service_worker_dispatcher_host.h
|
| @@ -65,9 +65,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);
|
|
|
| @@ -137,10 +136,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,
|
|
|