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 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/optional.h" | 14 #include "base/optional.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "content/browser/service_worker/service_worker_metrics.h" | 16 #include "content/browser/service_worker/service_worker_metrics.h" |
17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
18 #include "content/common/service_worker/service_worker_event_dispatcher.mojom.h" | 18 #include "content/common/service_worker/service_worker_event_dispatcher.mojom.h" |
19 #include "content/common/service_worker/service_worker_status_code.h" | 19 #include "content/common/service_worker/service_worker_status_code.h" |
20 #include "content/common/service_worker/service_worker_types.h" | 20 #include "content/common/service_worker/service_worker_types.h" |
21 #include "content/common/url_loader.mojom.h" | |
22 #include "content/common/url_loader_factory.mojom.h" | |
23 #include "content/public/common/resource_type.h" | 21 #include "content/public/common/resource_type.h" |
| 22 #include "content/public/common/url_loader.mojom.h" |
| 23 #include "content/public/common/url_loader_factory.mojom.h" |
24 #include "mojo/public/cpp/system/data_pipe.h" | 24 #include "mojo/public/cpp/system/data_pipe.h" |
25 #include "net/log/net_log_with_source.h" | 25 #include "net/log/net_log_with_source.h" |
26 | 26 |
27 namespace net { | 27 namespace net { |
28 class URLRequest; | 28 class URLRequest; |
29 } // namespace net | 29 } // namespace net |
30 | 30 |
31 namespace content { | 31 namespace content { |
32 | 32 |
33 class ServiceWorkerVersion; | 33 class ServiceWorkerVersion; |
(...skipping 73 matching lines...) Loading... |
107 mojom::FetchEventPreloadHandlePtr preload_handle_; | 107 mojom::FetchEventPreloadHandlePtr preload_handle_; |
108 | 108 |
109 base::WeakPtrFactory<ServiceWorkerFetchDispatcher> weak_factory_; | 109 base::WeakPtrFactory<ServiceWorkerFetchDispatcher> weak_factory_; |
110 | 110 |
111 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerFetchDispatcher); | 111 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerFetchDispatcher); |
112 }; | 112 }; |
113 | 113 |
114 } // namespace content | 114 } // namespace content |
115 | 115 |
116 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ | 116 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_FETCH_DISPATCHER_H_ |
OLD | NEW |