OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/renderer/shared_worker/embedded_shared_worker_stub.h" | 5 #include "content/renderer/shared_worker/embedded_shared_worker_stub.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include "base/thread_task_runner_handle.h" | 9 #include "base/thread_task_runner_handle.h" |
8 #include "content/child/appcache/appcache_dispatcher.h" | 10 #include "content/child/appcache/appcache_dispatcher.h" |
9 #include "content/child/appcache/web_application_cache_host_impl.h" | 11 #include "content/child/appcache/web_application_cache_host_impl.h" |
10 #include "content/child/request_extra_data.h" | 12 #include "content/child/request_extra_data.h" |
11 #include "content/child/scoped_child_process_reference.h" | 13 #include "content/child/scoped_child_process_reference.h" |
12 #include "content/child/service_worker/service_worker_handle_reference.h" | 14 #include "content/child/service_worker/service_worker_handle_reference.h" |
13 #include "content/child/service_worker/service_worker_network_provider.h" | 15 #include "content/child/service_worker/service_worker_network_provider.h" |
14 #include "content/child/service_worker/service_worker_provider_context.h" | 16 #include "content/child/service_worker/service_worker_provider_context.h" |
15 #include "content/child/shared_worker_devtools_agent.h" | 17 #include "content/child/shared_worker_devtools_agent.h" |
16 #include "content/child/webmessageportchannel_impl.h" | 18 #include "content/child/webmessageportchannel_impl.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 } | 298 } |
297 } | 299 } |
298 | 300 |
299 void EmbeddedSharedWorkerStub::OnTerminateWorkerContext() { | 301 void EmbeddedSharedWorkerStub::OnTerminateWorkerContext() { |
300 // After this we wouldn't get any IPC for this stub. | 302 // After this we wouldn't get any IPC for this stub. |
301 running_ = false; | 303 running_ = false; |
302 impl_->terminateWorkerContext(); | 304 impl_->terminateWorkerContext(); |
303 } | 305 } |
304 | 306 |
305 } // namespace content | 307 } // namespace content |
OLD | NEW |