| 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/browser/service_worker/service_worker_version.h" | 5 #include "content/browser/service_worker/service_worker_version.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "content/browser/bad_message.h" | 21 #include "content/browser/bad_message.h" |
| 22 #include "content/browser/child_process_security_policy_impl.h" | 22 #include "content/browser/child_process_security_policy_impl.h" |
| 23 #include "content/browser/message_port_message_filter.h" | 23 #include "content/browser/message_port_message_filter.h" |
| 24 #include "content/browser/message_port_service.h" | 24 #include "content/browser/message_port_service.h" |
| 25 #include "content/browser/service_worker/embedded_worker_instance.h" | 25 #include "content/browser/service_worker/embedded_worker_instance.h" |
| 26 #include "content/browser/service_worker/embedded_worker_registry.h" | 26 #include "content/browser/service_worker/embedded_worker_registry.h" |
| 27 #include "content/browser/service_worker/service_worker_context_core.h" | 27 #include "content/browser/service_worker/service_worker_context_core.h" |
| 28 #include "content/browser/service_worker/service_worker_context_wrapper.h" | 28 #include "content/browser/service_worker/service_worker_context_wrapper.h" |
| 29 #include "content/browser/service_worker/service_worker_metrics.h" | 29 #include "content/browser/service_worker/service_worker_metrics.h" |
| 30 #include "content/browser/service_worker/service_worker_registration.h" | 30 #include "content/browser/service_worker/service_worker_registration.h" |
| 31 #include "content/browser/service_worker/service_worker_utils.h" | |
| 32 #include "content/browser/storage_partition_impl.h" | 31 #include "content/browser/storage_partition_impl.h" |
| 33 #include "content/common/service_worker/service_worker_messages.h" | 32 #include "content/common/service_worker/service_worker_messages.h" |
| 34 #include "content/common/service_worker/service_worker_type_converters.h" | 33 #include "content/common/service_worker/service_worker_type_converters.h" |
| 34 #include "content/common/service_worker/service_worker_utils.h" |
| 35 #include "content/public/browser/browser_thread.h" | 35 #include "content/public/browser/browser_thread.h" |
| 36 #include "content/public/browser/content_browser_client.h" | 36 #include "content/public/browser/content_browser_client.h" |
| 37 #include "content/public/browser/page_navigator.h" | 37 #include "content/public/browser/page_navigator.h" |
| 38 #include "content/public/browser/render_frame_host.h" | 38 #include "content/public/browser/render_frame_host.h" |
| 39 #include "content/public/browser/render_process_host.h" | 39 #include "content/public/browser/render_process_host.h" |
| 40 #include "content/public/browser/web_contents.h" | 40 #include "content/public/browser/web_contents.h" |
| 41 #include "content/public/browser/web_contents_observer.h" | 41 #include "content/public/browser/web_contents_observer.h" |
| 42 #include "content/public/common/background_sync.mojom.h" | 42 #include "content/public/common/background_sync.mojom.h" |
| 43 #include "content/public/common/child_process_host.h" | 43 #include "content/public/common/child_process_host.h" |
| 44 #include "content/public/common/content_client.h" | 44 #include "content/public/common/content_client.h" |
| (...skipping 2250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2295 base::string16()); | 2295 base::string16()); |
| 2296 service_port_dispatcher_.reset(); | 2296 service_port_dispatcher_.reset(); |
| 2297 } | 2297 } |
| 2298 | 2298 |
| 2299 void ServiceWorkerVersion::OnBackgroundSyncDispatcherConnectionError() { | 2299 void ServiceWorkerVersion::OnBackgroundSyncDispatcherConnectionError() { |
| 2300 RunIDMapCallbacks(&sync_requests_, SERVICE_WORKER_ERROR_FAILED); | 2300 RunIDMapCallbacks(&sync_requests_, SERVICE_WORKER_ERROR_FAILED); |
| 2301 background_sync_dispatcher_.reset(); | 2301 background_sync_dispatcher_.reset(); |
| 2302 } | 2302 } |
| 2303 | 2303 |
| 2304 } // namespace content | 2304 } // namespace content |
| OLD | NEW |