| 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 <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "content/browser/service_worker/service_worker_metrics.h" | 14 #include "content/browser/service_worker/service_worker_metrics.h" |
| 15 #include "content/browser/streams/stream_read_observer.h" | 15 #include "content/browser/streams/stream_read_observer.h" |
| 16 #include "content/browser/streams/stream_register_observer.h" | 16 #include "content/browser/streams/stream_register_observer.h" |
| 17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 18 #include "content/common/service_worker/service_worker_status_code.h" | 18 #include "content/common/service_worker/service_worker_status_code.h" |
| 19 #include "content/common/service_worker/service_worker_types.h" | 19 #include "content/common/service_worker/service_worker_types.h" |
| 20 #include "content/public/common/request_context_frame_type.h" | 20 #include "content/public/common/request_context_frame_type.h" |
| 21 #include "content/public/common/request_context_type.h" | 21 #include "content/public/common/request_context_type.h" |
| 22 #include "content/public/common/resource_type.h" | 22 #include "content/public/common/resource_type.h" |
| 23 #include "net/http/http_byte_range.h" | 23 #include "net/http/http_byte_range.h" |
| 24 #include "net/url_request/url_request.h" | 24 #include "net/url_request/url_request.h" |
| 25 #include "net/url_request/url_request_job.h" | 25 #include "net/url_request/url_request_job.h" |
| 26 #include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h" | 26 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerResponseType.h" |
| 27 #include "url/gurl.h" | 27 #include "url/gurl.h" |
| 28 | 28 |
| 29 namespace net { | 29 namespace net { |
| 30 class IOBuffer; | 30 class IOBuffer; |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace storage { | 33 namespace storage { |
| 34 class BlobDataHandle; | 34 class BlobDataHandle; |
| 35 class BlobStorageContext; | 35 class BlobStorageContext; |
| 36 } | 36 } |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 bool did_record_result_ = false; | 227 bool did_record_result_ = false; |
| 228 | 228 |
| 229 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; | 229 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; |
| 230 | 230 |
| 231 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); | 231 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); |
| 232 }; | 232 }; |
| 233 | 233 |
| 234 } // namespace content | 234 } // namespace content |
| 235 | 235 |
| 236 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ | 236 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
| OLD | NEW |