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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2128503002: Set 'ResourceRequest::requestorOrigin' in Blink. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yay Created 4 years, 5 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/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index b3b2cdafb54479656d59aa6318287663643e7b6d..c427d2e12226ecb359ee32fa9d1347bd61b760aa 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -1108,6 +1108,7 @@ void WebURLLoaderImpl::PopulateURLRequestForRedirect(
new_request->setURL(redirect_info.new_url);
new_request->setFirstPartyForCookies(
redirect_info.new_first_party_for_cookies);
+ new_request->setRequestorOrigin(request.requestorOrigin());
new_request->setDownloadToFile(request.downloadToFile());
new_request->setUseStreamOnResponse(request.useStreamOnResponse());
new_request->setRequestContext(request.getRequestContext());
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698