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

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

Issue 1411813003: Teach URLRequest about initiator checks for First-Party-Only cookies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback. Created 4 years, 11 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_info.cc
diff --git a/content/browser/frame_host/navigation_request_info.cc b/content/browser/frame_host/navigation_request_info.cc
index de061de869746a3c976e4cca26dfe63af3f35827..5bfd979a25613961ab6567b65e9d663e1f6ecc4d 100644
--- a/content/browser/frame_host/navigation_request_info.cc
+++ b/content/browser/frame_host/navigation_request_info.cc
@@ -11,6 +11,7 @@ NavigationRequestInfo::NavigationRequestInfo(
const CommonNavigationParams& common_params,
const BeginNavigationParams& begin_params,
const GURL& first_party_for_cookies,
+ const url::Origin& request_initiator,
bool is_main_frame,
bool parent_is_main_frame,
int frame_tree_node_id,
@@ -18,6 +19,7 @@ NavigationRequestInfo::NavigationRequestInfo(
: common_params(common_params),
begin_params(begin_params),
first_party_for_cookies(first_party_for_cookies),
+ request_initiator(request_initiator),
is_main_frame(is_main_frame),
parent_is_main_frame(parent_is_main_frame),
frame_tree_node_id(frame_tree_node_id),

Powered by Google App Engine
This is Rietveld 408576698