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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2114213002: Fix loading placeholders for Lo-Fi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « content/child/request_info.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 55fa55544d3fbd8aa7ab40e142eab397fc654f76..28d35f29d6501bfdc04407f62224deb937e456f5 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -766,6 +766,7 @@ std::unique_ptr<ResourceRequest> ResourceDispatcher::CreateRequest(
request->enable_upload_progress = request_info.enable_upload_progress;
request->do_not_prompt_for_login = request_info.do_not_prompt_for_login;
request->report_raw_headers = request_info.report_raw_headers;
+ request->lofi_state = request_info.lofi_state;
if ((request_info.referrer.policy == blink::WebReferrerPolicyDefault ||
request_info.referrer.policy ==
@@ -801,7 +802,6 @@ std::unique_ptr<ResourceRequest> ResourceDispatcher::CreateRequest(
extra_data->service_worker_provider_id();
request->originated_from_service_worker =
extra_data->originated_from_service_worker();
- request->lofi_state = extra_data->lofi_state();
request->request_body = request_body;
request->resource_body_stream_url = request_info.resource_body_stream_url;
request->initiated_in_secure_context =
« no previous file with comments | « content/child/request_info.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698