Index: content/browser/service_worker/service_worker_provider_host.h |
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h |
index bd0d9e96778b5957ab62237dfec38d399e49dd35..eaa85f8219d7bcafb83cfa5926d2d8435086a004 100644 |
--- a/content/browser/service_worker/service_worker_provider_host.h |
+++ b/content/browser/service_worker/service_worker_provider_host.h |
@@ -138,6 +138,11 @@ class CONTENT_EXPORT ServiceWorkerProviderHost |
// provider is responsible for releasing the handle. |
ServiceWorkerObjectInfo CreateHandleAndPass(ServiceWorkerVersion* version); |
+ // Creates a ServiceWorkerRegistrationHandle to retain |registration| and |
+ // returns the registration handle ID to pass to the provider. The provider is |
+ // responsible for releasing the handle. |
+ int CreateRegistrationHandleAndPass(ServiceWorkerRegistration* registration); |
+ |
const int process_id_; |
const int provider_id_; |
GURL document_url_; |