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

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

Issue 576973004: Make ServiceWorkerFetchRequest and ServiceWorkerResponse header maps case insensitive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses comment from PS4 Created 6 years, 3 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
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 c544e56538c96d89e9a3aacec052f5eedf213d22..17419d572aa5e2c4c401cd653f11222a915a8a5e 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -13,7 +13,7 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest()
ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
const GURL& url,
const std::string& method,
- const std::map<std::string, std::string>& headers,
+ const ServiceWorkerHeaderMap& headers,
const GURL& referrer,
bool is_reload)
: url(url),
@@ -32,7 +32,7 @@ ServiceWorkerResponse::ServiceWorkerResponse(
const GURL& url,
int status_code,
const std::string& status_text,
- const std::map<std::string, std::string>& headers,
+ const ServiceWorkerHeaderMap& headers,
const std::string& blob_uuid)
: url(url),
status_code(status_code),

Powered by Google App Engine
This is Rietveld 408576698