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 d121e6bafa5c9f067fd7e2a6b7d705a8fb1650a4..6cca82ae134d34f4a101ccf409d9000aab491f35 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.h |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h |
@@ -29,6 +29,7 @@ class ServiceWorkerRegistration; |
class ServiceWorkerRegistrationHandle; |
class ServiceWorkerVersion; |
struct ServiceWorkerObjectInfo; |
+struct ServiceWorkerRegistrationInfo; |
struct ServiceWorkerRegistrationObjectInfo; |
struct ServiceWorkerVersionAttributes; |
struct TransferredMessagePort; |
@@ -95,6 +96,7 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
int request_id, |
int provider_id, |
const GURL& document_url); |
+ void OnGetRegistrations(int thread_id, int request_id, int provider_id); |
void OnGetRegistrationForReady(int thread_id, |
int request_id, |
int provider_id); |
@@ -160,6 +162,13 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
ServiceWorkerStatusCode status, |
const scoped_refptr<ServiceWorkerRegistration>& registration); |
+ void GetRegistrationsComplete( |
+ int thread_id, |
+ int provider_id, |
+ int request_id, |
+ const std::vector<scoped_refptr<ServiceWorkerRegistration>>& |
+ registrations); |
+ |
void GetRegistrationForReadyComplete( |
int thread_id, |
int request_id, |
@@ -179,6 +188,10 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
int request_id, |
ServiceWorkerStatusCode status); |
+ void SendGetRegistrationsError(int thread_id, |
+ int request_id, |
+ ServiceWorkerStatusCode status); |
+ |
ServiceWorkerContextCore* GetContext(); |
int render_process_id_; |