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

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

Issue 717353004: ServiceWorker: Add support for .skipWaiting and controllerchange event(2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase & add should_notify_controllerchange Created 6 years, 1 month 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 2d01452fa6952bafa18493154c2faf94ee3b5127..40eb8c36306104cafcccd4e1722821bf3d4d7763 100644
--- a/content/child/service_worker/service_worker_dispatcher.h
+++ b/content/child/service_worker/service_worker_dispatcher.h
@@ -191,7 +191,8 @@ class ServiceWorkerDispatcher : public WorkerTaskRunner::Observer {
const ServiceWorkerRegistrationObjectInfo& info);
void OnSetControllerServiceWorker(int thread_id,
int provider_id,
- const ServiceWorkerObjectInfo& info);
+ const ServiceWorkerObjectInfo& info,
+ bool should_notify_controllerchange);
void OnPostMessage(int thread_id,
int provider_id,
const base::string16& message,

Powered by Google App Engine
This is Rietveld 408576698