Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: content/browser/service_worker/service_worker_url_request_job.h

Issue 1965013002: Implement headers attributes in ForeignFetchResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using instead of typedef Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 std::unique_ptr<storage::BlobDataHandle> request_body_blob_data_handle_; 269 std::unique_ptr<storage::BlobDataHandle> request_body_blob_data_handle_;
270 scoped_refptr<ServiceWorkerVersion> streaming_version_; 270 scoped_refptr<ServiceWorkerVersion> streaming_version_;
271 ServiceWorkerFetchType fetch_type_; 271 ServiceWorkerFetchType fetch_type_;
272 272
273 ResponseBodyType response_body_type_ = UNKNOWN; 273 ResponseBodyType response_body_type_ = UNKNOWN;
274 bool did_record_result_ = false; 274 bool did_record_result_ = false;
275 275
276 bool response_is_in_cache_storage_ = false; 276 bool response_is_in_cache_storage_ = false;
277 std::string response_cache_storage_cache_name_; 277 std::string response_cache_storage_cache_name_;
278 278
279 ServiceWorkerHeaderList cors_exposed_header_names_;
280
279 std::unique_ptr<BlobConstructionWaiter> blob_construction_waiter_; 281 std::unique_ptr<BlobConstructionWaiter> blob_construction_waiter_;
280 282
281 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_; 283 base::WeakPtrFactory<ServiceWorkerURLRequestJob> weak_factory_;
282 284
283 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob); 285 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerURLRequestJob);
284 }; 286 };
285 287
286 } // namespace content 288 } // namespace content
287 289
288 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_ 290 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_URL_REQUEST_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698