Index: public/platform/WebURLRequest.h |
diff --git a/public/platform/WebURLRequest.h b/public/platform/WebURLRequest.h |
index aa692f9da6f2a9cd35c9623247186ea501c44527..86a7b1fe84acf49e1e1a49bb2fc2893e78ce1645 100644 |
--- a/public/platform/WebURLRequest.h |
+++ b/public/platform/WebURLRequest.h |
@@ -40,6 +40,7 @@ namespace blink { |
class ResourceRequest; |
class WebHTTPBody; |
class WebHTTPHeaderVisitor; |
+class WebSecurityOrigin; |
class WebString; |
class WebURL; |
class WebURLRequestPrivate; |
@@ -165,6 +166,11 @@ public: |
BLINK_PLATFORM_EXPORT WebURL firstPartyForCookies() const; |
BLINK_PLATFORM_EXPORT void setFirstPartyForCookies(const WebURL&); |
+ // The origin of the execution context which originated the request. Used to |
+ // implement First-Party-Only cookie restrictions. |
+ BLINK_PLATFORM_EXPORT WebSecurityOrigin requestorOrigin() const; |
+ BLINK_PLATFORM_EXPORT void setRequestorOrigin(const WebSecurityOrigin&); |
+ |
// Controls whether user name, password, and cookies may be sent with the |
// request. (If false, this overrides allowCookies.) |
BLINK_PLATFORM_EXPORT bool allowStoredCredentials() const; |