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..d2d7fb9fe274f954e87fd9dc5ff8125d874b702a 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.h |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h |
@@ -30,6 +30,7 @@ class ServiceWorkerRegistrationHandle; |
class ServiceWorkerVersion; |
struct ServiceWorkerObjectInfo; |
struct ServiceWorkerRegistrationObjectInfo; |
+struct ServiceWorkerRegistrationInfo; |
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,12 @@ 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<ServiceWorkerRegistration*>& registrations); |
+ |
void GetRegistrationForReadyComplete( |
int thread_id, |
int request_id, |
@@ -179,6 +187,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_; |