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

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 2745363004: PlzNavigate: send SourceLocation when mixed content is found (Closed)
Patch Set: Created 3 years, 9 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/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index e08de5755b08783c751151e708b3c9f74494b4b2..1c7d2e3c272c5c0d87a503d131aedf37b38f027b 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -418,6 +418,11 @@ void NavigationRequest::CreateNavigationHandle(int pending_nav_entry_id) {
navigation_handle_->set_searchable_form_encoding(
begin_params_.searchable_form_encoding);
}
+
+ if (common_params_.source_location) {
+ navigation_handle_->set_source_location(
+ common_params_.source_location.value());
+ }
}
void NavigationRequest::TransferNavigationHandleOwnership(

Powered by Google App Engine
This is Rietveld 408576698