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

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: Use int64 for workers, remove policy check 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..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
- 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_;
};

Powered by Google App Engine
This is Rietveld 408576698