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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2864023003: Fix the current per-frame URLLoaderFactory code path. (Closed)
Patch Set: Created 3 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/child/request_extra_data.cc ('k') | content/renderer/render_frame_impl.h » ('j') | 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 851c68c5b2e80489aab4624a6663c03f3ccc746d..0bf318d3cacc71ce9ba818d92404f22560203b21 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -634,6 +634,8 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
else
extra_data = &empty_extra_data;
extra_data->CopyToResourceRequest(resource_request.get());
+ if (extra_data->url_loader_factory_override())
+ url_loader_factory_ = extra_data->url_loader_factory_override();
if (sync_load_response) {
DCHECK(defers_loading_ == NOT_DEFERRING);
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698