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

Unified Diff: content/common/resource_messages.h

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/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index 744a9235ced196aae80b75c0d16da92d88c45724..4a17e2cacc0fad99277858292777c2fe0cb279a0 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -160,6 +160,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 of the context which initiated the request, which will be used
+ // fo cookie checks like 'First-Party-Only'.
estark 2015/10/20 23:41:58 typo: for
Mike West 2015/10/22 13:17:02 Fixed.
+ IPC_STRUCT_MEMBER(url::Origin, request_initiator)
+
// The referrer to use (may be empty).
IPC_STRUCT_MEMBER(GURL, referrer)

Powered by Google App Engine
This is Rietveld 408576698