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..333041a30829c8b090d9f8d953d23722c90523f6 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,14 @@ class ServiceWorkerDispatcherHost : public BrowserMessageFilter { |
| private: |
| // IPC Message handlers |
|
kinuko
2013/10/25 15:28:00
nit: can we remove this line so that IPC handlers
alecflett
2013/10/25 18:22:50
Done.
|
| - 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 request_id, |
| + const GURL& scope, |
| + const GURL& script_url); |
| + void OnUnregisterServiceWorker(int32 thread_id, |
| + int32 request_id, |
| + const GURL& scope); |
| + int render_process_id_ ALLOW_UNUSED; |
| scoped_refptr<ServiceWorkerContext> context_; |
| }; |