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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2860903006: Handle webuis when using the network service. (Closed)
Patch Set: nits 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
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);

Powered by Google App Engine
This is Rietveld 408576698