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 <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
19 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
20 #include "base/strings/string16.h" | 20 #include "base/strings/string16.h" |
21 #include "base/strings/stringprintf.h" | 21 #include "base/strings/stringprintf.h" |
22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" |
23 #include "base/thread_task_runner_handle.h" | 23 #include "base/threading/thread_task_runner_handle.h" |
24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
25 #include "build/build_config.h" | 25 #include "build/build_config.h" |
26 #include "content/browser/fileapi/chrome_blob_storage_context.h" | 26 #include "content/browser/fileapi/chrome_blob_storage_context.h" |
27 #include "content/browser/service_worker/embedded_worker_instance.h" | 27 #include "content/browser/service_worker/embedded_worker_instance.h" |
28 #include "content/browser/service_worker/embedded_worker_registry.h" | 28 #include "content/browser/service_worker/embedded_worker_registry.h" |
29 #include "content/browser/service_worker/service_worker_context_core.h" | 29 #include "content/browser/service_worker/service_worker_context_core.h" |
30 #include "content/browser/service_worker/service_worker_context_observer.h" | 30 #include "content/browser/service_worker/service_worker_context_observer.h" |
31 #include "content/browser/service_worker/service_worker_context_wrapper.h" | 31 #include "content/browser/service_worker/service_worker_context_wrapper.h" |
32 #include "content/browser/service_worker/service_worker_fetch_dispatcher.h" | 32 #include "content/browser/service_worker/service_worker_fetch_dispatcher.h" |
33 #include "content/browser/service_worker/service_worker_registration.h" | 33 #include "content/browser/service_worker/service_worker_registration.h" |
(...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1569 ASSERT_EQ(SERVICE_WORKER_OK, status); | 1569 ASSERT_EQ(SERVICE_WORKER_OK, status); |
1570 // Stop the worker. | 1570 // Stop the worker. |
1571 StopWorker(SERVICE_WORKER_OK); | 1571 StopWorker(SERVICE_WORKER_OK); |
1572 // Restart the worker. | 1572 // Restart the worker. |
1573 StartWorker(SERVICE_WORKER_OK); | 1573 StartWorker(SERVICE_WORKER_OK); |
1574 // Stop the worker. | 1574 // Stop the worker. |
1575 StopWorker(SERVICE_WORKER_OK); | 1575 StopWorker(SERVICE_WORKER_OK); |
1576 } | 1576 } |
1577 | 1577 |
1578 } // namespace content | 1578 } // namespace content |
OLD | NEW |