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

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

Issue 2745363004: PlzNavigate: send SourceLocation when mixed content is found (Closed)
Patch Set: Rebase 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
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bf639683ab26b51019d5ee4841f1f71cf22f0e53..a5a193160646054bdf9751aaf94b7c100b7092ed 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -425,6 +425,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(
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698