Chromium Code Reviews| 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..2e8bf9564c5c64e2afdb44db09d7a7a366002471 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; |
|
falken
2015/06/08 04:59:10
nit: wrong alphabetical order
jungkees
2015/06/08 16:00:19
Fixed.
|
| 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_; |