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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 bool response_is_in_cache_storage_ = false; | 287 bool response_is_in_cache_storage_ = false; |
288 std::string response_cache_storage_cache_name_; | 288 std::string response_cache_storage_cache_name_; |
289 | 289 |
290 ServiceWorkerHeaderList cors_exposed_header_names_; | 290 ServiceWorkerHeaderList cors_exposed_header_names_; |
291 | 291 |
292 std::unique_ptr<FileSizeResolver> file_size_resolver_; | 292 std::unique_ptr<FileSizeResolver> file_size_resolver_; |
293 | 293 |
294 bool worker_already_activated_ = false; | 294 bool worker_already_activated_ = false; |
295 EmbeddedWorkerStatus initial_worker_status_ = EmbeddedWorkerStatus::STOPPED; | 295 EmbeddedWorkerStatus initial_worker_status_ = EmbeddedWorkerStatus::STOPPED; |
| 296 bool did_navigation_preload_ = false; |
296 | 297 |
297 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; | 298 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; |
298 | 299 |
299 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); | 300 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); |
300 }; | 301 }; |
301 | 302 |
302 } // namespace content | 303 } // namespace content |
303 | 304 |
304 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ | 305 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ |
OLD | NEW |