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_URL_REQUEST_JOB_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "content/browser/service_worker/service_worker_metrics.h" | 21 #include "content/browser/service_worker/service_worker_metrics.h" |
22 #include "content/browser/service_worker/service_worker_response_type.h" | 22 #include "content/browser/service_worker/service_worker_response_type.h" |
23 #include "content/browser/service_worker/service_worker_url_job_wrapper.h" | 23 #include "content/browser/service_worker/service_worker_url_job_wrapper.h" |
24 #include "content/common/content_export.h" | 24 #include "content/common/content_export.h" |
25 #include "content/common/service_worker/service_worker_event_dispatcher.mojom.h" | 25 #include "content/common/service_worker/service_worker_event_dispatcher.mojom.h" |
26 #include "content/common/service_worker/service_worker_status_code.h" | 26 #include "content/common/service_worker/service_worker_status_code.h" |
27 #include "content/common/service_worker/service_worker_types.h" | 27 #include "content/common/service_worker/service_worker_types.h" |
28 #include "content/public/common/request_context_frame_type.h" | 28 #include "content/public/common/request_context_frame_type.h" |
29 #include "content/public/common/request_context_type.h" | 29 #include "content/public/common/request_context_type.h" |
30 #include "content/public/common/resource_type.h" | 30 #include "content/public/common/resource_type.h" |
| 31 #include "content/public/common/service_worker_modes.h" |
31 #include "mojo/public/cpp/system/data_pipe.h" | 32 #include "mojo/public/cpp/system/data_pipe.h" |
32 #include "net/http/http_byte_range.h" | 33 #include "net/http/http_byte_range.h" |
33 #include "net/url_request/url_request.h" | 34 #include "net/url_request/url_request.h" |
34 #include "net/url_request/url_request_job.h" | 35 #include "net/url_request/url_request_job.h" |
35 #include "net/url_request/url_request_status.h" | 36 #include "net/url_request/url_request_status.h" |
36 #include "storage/common/blob_storage/blob_storage_constants.h" | 37 #include "storage/common/blob_storage/blob_storage_constants.h" |
37 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerResponseType.h" | 38 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerResponseType.h" |
38 #include "url/gurl.h" | 39 #include "url/gurl.h" |
39 | 40 |
40 namespace net { | 41 namespace net { |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 std::unique_ptr<FileSizeResolver> file_size_resolver_; | 323 std::unique_ptr<FileSizeResolver> file_size_resolver_; |
323 | 324 |
324 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; | 325 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; |
325 | 326 |
326 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); | 327 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); |
327 }; | 328 }; |
328 | 329 |
329 } // namespace content | 330 } // namespace content |
330 | 331 |
331 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ | 332 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
OLD | NEW |