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

Unified Diff: content/common/resource_messages.h

Issue 1253353004: WIP: Teach "First-Party-Only" cookies about the requestor origin. Base URL: https://chromium.googlesource.com/chromium/src.git@cookie-options
Patch Set: Created 5 years, 5 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/child/web_url_loader_impl.cc ('k') | net/cookies/canonical_cookie.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index bc38f0286fd665660efa9f0592c37f3456a4a09d..5f953dc5d0481978c6afa2cc05b6743c9f1e425d 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -157,6 +157,10 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
// only be done if there really is no way to determine the correct value.
IPC_STRUCT_MEMBER(GURL, first_party_for_cookies)
+ // The origin responsible for making the request; used for First-Party-Only
+ // cookie policy enforcement.
+ IPC_STRUCT_MEMBER(url::Origin, requestor_origin)
+
// The referrer to use (may be empty).
IPC_STRUCT_MEMBER(GURL, referrer)
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | net/cookies/canonical_cookie.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698