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

Unified Diff: content/common/navigation_params.cc

Issue 2099243002: PlzNavigate: properly set the initiator of the navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 6 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/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 8ab6ed48d8c107efc1f7be23fb77474794b94d1b..190a0516e05160534bfcd945036fd8cdfb93bb12 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -90,12 +90,14 @@ BeginNavigationParams::BeginNavigationParams(
int load_flags,
bool has_user_gesture,
bool skip_service_worker,
- RequestContextType request_context_type)
+ RequestContextType request_context_type,
+ const url::Origin& initiator)
: headers(headers),
load_flags(load_flags),
has_user_gesture(has_user_gesture),
skip_service_worker(skip_service_worker),
- request_context_type(request_context_type) {}
+ request_context_type(request_context_type),
+ initiator(initiator) {}
BeginNavigationParams::BeginNavigationParams(
const BeginNavigationParams& other) = default;

Powered by Google App Engine
This is Rietveld 408576698