summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebengineurlrequestinfo_p.h
diff options
context:
space:
mode:
authorDavid Rosca <nowrep@gmail.com>2015-10-08 17:28:19 +0200
committerDavid Rosca <nowrep@gmail.com>2015-10-12 09:12:35 +0000
commiteffa889ba7b7a10b3648a9ded55a5bcd4bae993a (patch)
tree1c737c26152f168fca6ea69f48708ae9eeddc70b /src/core/api/qwebengineurlrequestinfo_p.h
parent2e9c6cd0bd6789a4f46fe0bcfbd522f0dd3eb4cb (diff)
Add firstPartyUrl to QWebEngineUrlRequestInfo
Add firstPartyUrl that can be used to identify third-party requests. Change-Id: I2b8e48ff0a1a4402af224c80f91d4e599a61a89c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/api/qwebengineurlrequestinfo_p.h')
-rw-r--r--src/core/api/qwebengineurlrequestinfo_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/api/qwebengineurlrequestinfo_p.h b/src/core/api/qwebengineurlrequestinfo_p.h
index b6a304a03..1b1279d27 100644
--- a/src/core/api/qwebengineurlrequestinfo_p.h
+++ b/src/core/api/qwebengineurlrequestinfo_p.h
@@ -58,6 +58,7 @@ public:
QWebEngineUrlRequestInfoPrivate(QWebEngineUrlRequestInfo::ResourceType resource
, QWebEngineUrlRequestInfo::NavigationType navigation
, const QUrl &u
+ , const QUrl &fpu
, const QByteArray &m);
QWebEngineUrlRequestInfo::ResourceType resourceType;
@@ -65,6 +66,7 @@ public:
bool shouldBlockRequest;
QUrl url;
+ QUrl firstPartyUrl;
const QByteArray method;
QHash<QByteArray, QByteArray> extraHeaders;