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_REQUEST_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/supports_user_data.h" | 13 #include "base/supports_user_data.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "content/browser/loader/url_loader_request_handler.h" | 15 #include "content/browser/loader/url_loader_request_handler.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "content/common/service_worker/service_worker_status_code.h" | 17 #include "content/common/service_worker/service_worker_status_code.h" |
18 #include "content/common/service_worker/service_worker_types.h" | 18 #include "content/common/service_worker/service_worker_types.h" |
19 #include "content/public/common/request_context_frame_type.h" | 19 #include "content/public/common/request_context_frame_type.h" |
20 #include "content/public/common/request_context_type.h" | 20 #include "content/public/common/request_context_type.h" |
21 #include "content/public/common/resource_type.h" | 21 #include "content/public/common/resource_type.h" |
| 22 #include "content/public/common/service_worker_modes.h" |
22 #include "net/url_request/url_request_job_factory.h" | 23 #include "net/url_request/url_request_job_factory.h" |
23 | 24 |
24 namespace net { | 25 namespace net { |
25 class NetworkDelegate; | 26 class NetworkDelegate; |
26 class URLRequest; | 27 class URLRequest; |
27 class URLRequestInterceptor; | 28 class URLRequestInterceptor; |
28 } | 29 } |
29 | 30 |
30 namespace storage { | 31 namespace storage { |
31 class BlobStorageContext; | 32 class BlobStorageContext; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 std::unique_ptr<ServiceWorkerProviderHost> host_for_cross_site_transfer_; | 161 std::unique_ptr<ServiceWorkerProviderHost> host_for_cross_site_transfer_; |
161 int old_process_id_; | 162 int old_process_id_; |
162 int old_provider_id_; | 163 int old_provider_id_; |
163 | 164 |
164 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRequestHandler); | 165 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerRequestHandler); |
165 }; | 166 }; |
166 | 167 |
167 } // namespace content | 168 } // namespace content |
168 | 169 |
169 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ | 170 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REQUEST_HANDLER_H_ |
OLD | NEW |