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

Unified Diff: public/platform/WebURLRequest.h

Issue 1071893003: WebURLRequest: Track the requesting document's URL through navigations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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: public/platform/WebURLRequest.h
diff --git a/public/platform/WebURLRequest.h b/public/platform/WebURLRequest.h
index aa692f9da6f2a9cd35c9623247186ea501c44527..b5747d2e82c31072e0ed6be78914f613efa1c064 100644
--- a/public/platform/WebURLRequest.h
+++ b/public/platform/WebURLRequest.h
@@ -165,6 +165,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 WebURL requestorURL() const;
jochen (gone - plz use gerrit) 2015/04/13 13:07:02 does the full URL actually matter (i.e. do you nee
Mike West 2015/04/21 12:46:23 Origin would be fine, now that you mention it. I'l
+ BLINK_PLATFORM_EXPORT void setRequestorURL(const WebURL&);
+
// Controls whether user name, password, and cookies may be sent with the
// request. (If false, this overrides allowCookies.)
BLINK_PLATFORM_EXPORT bool allowStoredCredentials() const;
« Source/platform/network/ResourceRequest.cpp ('K') | « Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698