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

Unified Diff: content/child/service_worker/service_worker_message_filter.cc

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 again Created 6 years 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_message_filter.cc
diff --git a/content/child/service_worker/service_worker_message_filter.cc b/content/child/service_worker/service_worker_message_filter.cc
index 72cf320084a61f53dc3d060b001f7dc08d7f3feb..9b3cd56918423596ee321337f14294bf640f53f2 100644
--- a/content/child/service_worker/service_worker_message_filter.cc
+++ b/content/child/service_worker/service_worker_message_filter.cc
@@ -111,7 +111,8 @@ void ServiceWorkerMessageFilter::OnStaleSetVersionAttributes(
void ServiceWorkerMessageFilter::OnStaleSetControllerServiceWorker(
int thread_id,
int provider_id,
- const ServiceWorkerObjectInfo& info) {
+ const ServiceWorkerObjectInfo& info,
+ bool should_notify_controllerchange) {
SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(), info.handle_id);
}

Powered by Google App Engine
This is Rietveld 408576698