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

Unified Diff: Source/platform/exported/WebURLRequest.cpp

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: Source/platform/exported/WebURLRequest.cpp
diff --git a/Source/platform/exported/WebURLRequest.cpp b/Source/platform/exported/WebURLRequest.cpp
index dfe231dc0ed30f7a2ea8ac1e5a93f3b15458be55..68ad34d8b91a1840f1261f9eb67a6bbaad088ab7 100644
--- a/Source/platform/exported/WebURLRequest.cpp
+++ b/Source/platform/exported/WebURLRequest.cpp
@@ -124,6 +124,16 @@ void WebURLRequest::setFirstPartyForCookies(const WebURL& firstPartyForCookies)
m_private->m_resourceRequest->setFirstPartyForCookies(firstPartyForCookies);
}
+WebURL WebURLRequest::requestorURL() const
+{
+ return m_private->m_resourceRequest->requestorURL();
+}
+
+void WebURLRequest::setRequestorURL(const WebURL& requestorURL)
+{
+ m_private->m_resourceRequest->setRequestorURL(requestorURL);
+}
+
bool WebURLRequest::allowStoredCredentials() const
{
return m_private->m_resourceRequest->allowStoredCredentials();

Powered by Google App Engine
This is Rietveld 408576698