OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_URL_LOADER_JOB_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_JOB_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_JOB_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_JOB_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "content/browser/loader/url_loader_request_handler.h" | 10 #include "content/browser/loader/url_loader_request_handler.h" |
11 #include "content/browser/service_worker/service_worker_metrics.h" | 11 #include "content/browser/service_worker/service_worker_metrics.h" |
12 #include "content/browser/service_worker/service_worker_response_type.h" | 12 #include "content/browser/service_worker/service_worker_response_type.h" |
13 #include "content/browser/service_worker/service_worker_url_job_wrapper.h" | 13 #include "content/browser/service_worker/service_worker_url_job_wrapper.h" |
14 #include "content/common/service_worker/service_worker_status_code.h" | 14 #include "content/common/service_worker/service_worker_status_code.h" |
15 #include "content/common/service_worker/service_worker_types.h" | 15 #include "content/common/service_worker/service_worker_types.h" |
16 #include "content/common/url_loader.mojom.h" | 16 #include "content/public/common/url_loader.mojom.h" |
17 #include "mojo/public/cpp/bindings/strong_binding.h" | 17 #include "mojo/public/cpp/bindings/strong_binding.h" |
18 #include "mojo/public/cpp/system/data_pipe.h" | 18 #include "mojo/public/cpp/system/data_pipe.h" |
19 #include "third_party/WebKit/public/platform/modules/serviceworker/service_worke
r_stream_handle.mojom.h" | 19 #include "third_party/WebKit/public/platform/modules/serviceworker/service_worke
r_stream_handle.mojom.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 class IOBuffer; | 22 class IOBuffer; |
23 struct RedirectInfo; | 23 struct RedirectInfo; |
24 } | 24 } |
25 | 25 |
26 namespace storage { | 26 namespace storage { |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 Status status_ = Status::kNotStarted; | 174 Status status_ = Status::kNotStarted; |
175 | 175 |
176 base::WeakPtrFactory<ServiceWorkerURLLoaderJob> weak_factory_; | 176 base::WeakPtrFactory<ServiceWorkerURLLoaderJob> weak_factory_; |
177 | 177 |
178 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLLoaderJob); | 178 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLLoaderJob); |
179 }; | 179 }; |
180 | 180 |
181 } // namespace content | 181 } // namespace content |
182 | 182 |
183 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_JOB_H_ | 183 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_LOADER_JOB_H_ |
OLD | NEW |