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

Unified Diff: content/child/service_worker/service_worker_dispatcher.h

Issue 140743012: Start EmbeddedWorker during registration - take 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/child/service_worker/service_worker_dispatcher.h
diff --git a/content/child/service_worker/service_worker_dispatcher.h b/content/child/service_worker/service_worker_dispatcher.h
index 72be7064eeeda57ceef34275853b6c9147dea478..f2f87ede27bf622c74be7b609e9813bb9f3bf2cd 100644
--- a/content/child/service_worker/service_worker_dispatcher.h
+++ b/content/child/service_worker/service_worker_dispatcher.h
@@ -42,10 +42,12 @@ class ServiceWorkerDispatcher : public webkit_glue::WorkerTaskRunner::Observer {
void RegisterServiceWorker(
const GURL& pattern,
const GURL& script_url,
+ int provider_id,
blink::WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks);
// Corresponds to navigator.unregisterServiceWorker()
void UnregisterServiceWorker(
const GURL& pattern,
+ int provider_id,
blink::WebServiceWorkerProvider::WebServiceWorkerCallbacks* callbacks);
// |thread_safe_sender| needs to be passed in because if the call leads to

Powered by Google App Engine
This is Rietveld 408576698