OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/child/service_worker/service_worker_message_filter.h" | 5 #include "content/child/service_worker/service_worker_message_filter.h" |
6 | 6 |
7 #include "base/message_loop/message_loop_proxy.h" | 7 #include "base/message_loop/message_loop_proxy.h" |
8 #include "content/child/service_worker/service_worker_dispatcher.h" | 8 #include "content/child/service_worker/service_worker_dispatcher.h" |
9 #include "content/child/thread_safe_sender.h" | 9 #include "content/child/thread_safe_sender.h" |
10 #include "content/child/worker_thread_task_runner.h" | 10 #include "content/child/worker_thread_task_runner.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 attrs.waiting.handle_id); | 104 attrs.waiting.handle_id); |
105 SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(), | 105 SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(), |
106 attrs.active.handle_id); | 106 attrs.active.handle_id); |
107 SendRegistrationObjectDestroyed(thread_safe_sender_.get(), | 107 SendRegistrationObjectDestroyed(thread_safe_sender_.get(), |
108 registration_handle_id); | 108 registration_handle_id); |
109 } | 109 } |
110 | 110 |
111 void ServiceWorkerMessageFilter::OnStaleSetControllerServiceWorker( | 111 void ServiceWorkerMessageFilter::OnStaleSetControllerServiceWorker( |
112 int thread_id, | 112 int thread_id, |
113 int provider_id, | 113 int provider_id, |
114 const ServiceWorkerObjectInfo& info) { | 114 const ServiceWorkerObjectInfo& info, |
| 115 bool should_notify_controllerchange) { |
115 SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(), info.handle_id); | 116 SendServiceWorkerObjectDestroyed(thread_safe_sender_.get(), info.handle_id); |
116 } | 117 } |
117 | 118 |
118 } // namespace content | 119 } // namespace content |
OLD | NEW |