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 "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/service_worker/service_worker_status_code.h" | |
11 #include "content/common/service_worker/service_worker_types.h" | 10 #include "content/common/service_worker/service_worker_types.h" |
| 11 #include "content/public/common/service_worker_status_code.h" |
12 #include "net/http/http_byte_range.h" | 12 #include "net/http/http_byte_range.h" |
13 #include "net/url_request/url_request_job.h" | 13 #include "net/url_request/url_request_job.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class ServiceWorkerContextCore; | 17 class ServiceWorkerContextCore; |
18 class ServiceWorkerFetchDispatcher; | 18 class ServiceWorkerFetchDispatcher; |
19 class ServiceWorkerProviderHost; | 19 class ServiceWorkerProviderHost; |
20 | 20 |
21 class CONTENT_EXPORT ServiceWorkerURLRequestJob | 21 class CONTENT_EXPORT ServiceWorkerURLRequestJob |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 scoped_ptr<ServiceWorkerFetchDispatcher> fetch_dispatcher_; | 88 scoped_ptr<ServiceWorkerFetchDispatcher> fetch_dispatcher_; |
89 | 89 |
90 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; | 90 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); | 92 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace content | 95 } // namespace content |
96 | 96 |
97 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ | 97 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
OLD | NEW |