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> |
| 9 #include <string> |
| 10 |
8 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
9 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
10 #include "content/common/service_worker/service_worker_status_code.h" | 13 #include "content/common/service_worker/service_worker_status_code.h" |
11 #include "content/common/service_worker/service_worker_types.h" | 14 #include "content/common/service_worker/service_worker_types.h" |
12 #include "net/http/http_byte_range.h" | 15 #include "net/http/http_byte_range.h" |
13 #include "net/url_request/url_request.h" | 16 #include "net/url_request/url_request.h" |
14 #include "net/url_request/url_request_job.h" | 17 #include "net/url_request/url_request_job.h" |
15 | 18 |
16 namespace webkit_blob { | 19 namespace webkit_blob { |
17 class BlobStorageContext; | 20 class BlobStorageContext; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 scoped_ptr<net::URLRequest> blob_request_; | 131 scoped_ptr<net::URLRequest> blob_request_; |
129 | 132 |
130 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; | 133 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; |
131 | 134 |
132 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); | 135 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); |
133 }; | 136 }; |
134 | 137 |
135 } // namespace content | 138 } // namespace content |
136 | 139 |
137 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ | 140 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
OLD | NEW |