summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebengineurlrequestinfo.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.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.h')
-rw-r--r--src/core/api/qwebengineurlrequestinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/api/qwebengineurlrequestinfo.h b/src/core/api/qwebengineurlrequestinfo.h
index 7c016d20d..e6e225051 100644
--- a/src/core/api/qwebengineurlrequestinfo.h
+++ b/src/core/api/qwebengineurlrequestinfo.h
@@ -86,6 +86,7 @@ public:
NavigationType navigationType() const;
QUrl requestUrl() const;
+ QUrl firstPartyUrl() const;
QByteArray requestMethod() const;
void block(bool shouldBlock);