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

Unified Diff: content/common/service_worker/service_worker_types.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/service_worker/service_worker_types.h ('k') | content/public/common/resource_response.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/service_worker_types.cc
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index a320c29725a518b7fa63b873dbd7ab350c86f281..aaa516bf230cd8e0cd500d0f5ed059dd1878f5b6 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -73,7 +73,8 @@ ServiceWorkerResponse::ServiceWorkerResponse(
blink::WebServiceWorkerResponseError error,
base::Time response_time,
bool is_in_cache_storage,
- const std::string& cache_storage_cache_name)
+ const std::string& cache_storage_cache_name,
+ const ServiceWorkerHeaderList& cors_exposed_headers)
: url(url),
status_code(status_code),
status_text(status_text),
@@ -85,7 +86,8 @@ ServiceWorkerResponse::ServiceWorkerResponse(
error(error),
response_time(response_time),
is_in_cache_storage(is_in_cache_storage),
- cache_storage_cache_name(cache_storage_cache_name) {}
+ cache_storage_cache_name(cache_storage_cache_name),
+ cors_exposed_header_names(cors_exposed_headers) {}
ServiceWorkerResponse::ServiceWorkerResponse(
const ServiceWorkerResponse& other) = default;
« no previous file with comments | « content/common/service_worker/service_worker_types.h ('k') | content/public/common/resource_response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698