Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1250)

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 25008006: Flush out initial [un]registerServiceWorker roundtrip (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix naming, other small nits Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
};

Powered by Google App Engine
This is Rietveld 408576698