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

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: test Created 5 years, 2 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 42fa7d27eb84c81bdd5ed74894abaf748893fda6..7f22119933183aceb1d6c98e791eeb879e57d7db 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