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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 605103003: Pass request context and frame type down to Blink for redirect responses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4d45371f453281d60ffd0b3165909c1f5175c9a6..696d8e649ed78c81a15eb2096004b94f7f02e5e6 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -486,6 +486,8 @@ bool WebURLLoaderImpl::Context::OnReceivedRedirect(
new_request.setFirstPartyForCookies(
redirect_info.new_first_party_for_cookies);
new_request.setDownloadToFile(request_.downloadToFile());
+ new_request.setRequestContext(request_.requestContext());
+ new_request.setFrameType(request_.frameType());
new_request.setHTTPReferrer(WebString::fromUTF8(redirect_info.new_referrer),
referrer_policy_);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698