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 9ea4296b1e63773ea4597a693377f4b221b1a6a1..d58b7854caeb7de1f9c5d6035711fe82544ae057 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.h |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h |
@@ -25,6 +25,7 @@ class ServiceWorkerHandle; |
class ServiceWorkerProviderHost; |
class ServiceWorkerRegistration; |
class ServiceWorkerRegistrationHandle; |
+struct ServiceWorkerRegistrationObjectInfo; |
class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
public: |
@@ -51,6 +52,10 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
void RegisterServiceWorkerRegistrationHandle( |
scoped_ptr<ServiceWorkerRegistrationHandle> handle); |
+ ServiceWorkerRegistrationObjectInfo GetOrCreateRegistrationHandle( |
+ int provider_id, |
+ ServiceWorkerRegistration* registration); |
+ |
MessagePortMessageFilter* message_port_message_filter() { |
return message_port_message_filter_; |
} |