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

Unified Diff: content/browser/background_fetch/background_fetch_request_info.cc

Issue 2818703003: Consider the Access-Control-Allow-Origin header for Background Fetch (Closed)
Patch Set: Consider the Access-Control-Allow-Origin header for Background Fetch Created 3 years, 8 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/browser/background_fetch/background_fetch_request_info.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/background_fetch/background_fetch_request_info.cc
diff --git a/content/browser/background_fetch/background_fetch_request_info.cc b/content/browser/background_fetch/background_fetch_request_info.cc
index e3f96083831dbd5b06a6323179c25d416028b65d..1973d359ab0e35a4f4a655a87077c7412ef99c93 100644
--- a/content/browser/background_fetch/background_fetch_request_info.cc
+++ b/content/browser/background_fetch/background_fetch_request_info.cc
@@ -6,6 +6,7 @@
#include <string>
+#include "base/strings/string_util.h"
#include "content/public/browser/download_item.h"
#include "net/http/http_response_headers.h"
@@ -38,7 +39,7 @@ void BackgroundFetchRequestInfo::PopulateDownloadState(
std::string name, value;
while (headers->EnumerateHeaderLines(&iter, &name, &value))
- response_headers_[name] = value;
+ response_headers_[base::ToLowerASCII(name)] = value;
}
download_state_populated_ = true;
« no previous file with comments | « content/browser/background_fetch/background_fetch_request_info.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698