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 36927819f69f0d8e0a879252f2a5a42fee133bae..296ae5a4663430f57b64beae2c1c354f5799ac28 100644 |
| --- a/content/browser/service_worker/service_worker_dispatcher_host.h |
| +++ b/content/browser/service_worker/service_worker_dispatcher_host.h |
| @@ -15,7 +15,8 @@ class ServiceWorkerContext; |
| class ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
| public: |
| - explicit ServiceWorkerDispatcherHost(ServiceWorkerContext* context); |
| + ServiceWorkerDispatcherHost(int render_process_id, |
| + ServiceWorkerContext* context); |
| // BrowserIOMessageFilter implementation |
| virtual bool OnMessageReceived(const IPC::Message& message, |
| @@ -27,11 +28,17 @@ class ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
| private: |
| // IPC Message handlers |
| - void OnRegisterServiceWorker(int32 registry_id, |
| - const string16& scope, |
| - const GURL& script_url); |
| - void OnUnregisterServiceWorker(int32 registry_id, const string16& scope); |
| - |
| + void OnRegisterServiceWorker(int32 thread_id, |
| + int32 registry_id, |
|
kinuko
2013/10/09 12:13:25
nit: request_id
alecflett
2013/10/09 18:54:29
Done.
|
| + const GURL& security_origin, |
| + const string16& scope, |
| + const GURL& script_url); |
| + void OnUnregisterServiceWorker(int32 thread_id, |
| + int32 registry_id, |
|
kinuko
2013/10/09 12:13:25
nit: request_id
alecflett
2013/10/09 18:54:29
Done.
|
| + const GURL& security_origin, |
| + const string16& scope); |
| + |
| + int render_process_id_; |
| scoped_refptr<ServiceWorkerContext> context_; |
| }; |