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 28 matching lines...) Expand all Loading... |
39 class BlobDataHandle; | 39 class BlobDataHandle; |
40 class BlobStorageContext; | 40 class BlobStorageContext; |
41 } // namespace storage | 41 } // namespace storage |
42 | 42 |
43 namespace content { | 43 namespace content { |
44 | 44 |
45 class ResourceContext; | 45 class ResourceContext; |
46 class ResourceRequestBodyImpl; | 46 class ResourceRequestBodyImpl; |
47 class ServiceWorkerBlobReader; | 47 class ServiceWorkerBlobReader; |
48 class ServiceWorkerStreamReader; | 48 class ServiceWorkerStreamReader; |
49 class ServiceWorkerContextCore; | |
50 class ServiceWorkerFetchDispatcher; | 49 class ServiceWorkerFetchDispatcher; |
51 class ServiceWorkerProviderHost; | |
52 class ServiceWorkerVersion; | 50 class ServiceWorkerVersion; |
53 class Stream; | 51 class Stream; |
54 | 52 |
55 class CONTENT_EXPORT ServiceWorkerURLRequestJob : public net::URLRequestJob { | 53 class CONTENT_EXPORT ServiceWorkerURLRequestJob : public net::URLRequestJob { |
56 public: | 54 public: |
57 class CONTENT_EXPORT Delegate { | 55 class CONTENT_EXPORT Delegate { |
58 public: | 56 public: |
59 virtual ~Delegate() {} | 57 virtual ~Delegate() {} |
60 | 58 |
61 // Will be invoked before the request is restarted. The caller | 59 // Will be invoked before the request is restarted. The caller |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 EmbeddedWorkerStatus initial_worker_status_ = EmbeddedWorkerStatus::STOPPED; | 283 EmbeddedWorkerStatus initial_worker_status_ = EmbeddedWorkerStatus::STOPPED; |
286 | 284 |
287 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; | 285 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; |
288 | 286 |
289 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); | 287 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); |
290 }; | 288 }; |
291 | 289 |
292 } // namespace content | 290 } // namespace content |
293 | 291 |
294 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ | 292 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
OLD | NEW |