diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-18 13:01:18 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-18 13:01:18 +0200 |
commit | ecc40a888c56bc529cea05a5501dd849c5d572c1 (patch) | |
tree | 2991d2188aae76632993682d272534e06605bb10 /src/core/api | |
parent | 216f19d52ce9e920349da9247afc2c8e85df2c56 (diff) | |
parent | 9233ac4b4cd22da400b0c94ca13b334c562582b9 (diff) |
Merge remote-tracking branch 'origin/5.11' into dev
Change-Id: Id171407c17533846e8efe0e586d6793a61543438
Diffstat (limited to 'src/core/api')
-rw-r--r-- | src/core/api/qwebenginecookiestore.cpp | 12 | ||||
-rw-r--r-- | src/core/api/qwebenginecookiestore.h | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/core/api/qwebenginecookiestore.cpp b/src/core/api/qwebenginecookiestore.cpp index ee82093a5..5fcd46064 100644 --- a/src/core/api/qwebenginecookiestore.cpp +++ b/src/core/api/qwebenginecookiestore.cpp @@ -200,7 +200,7 @@ bool QWebEngineCookieStorePrivate::canAccessCookies(const QUrl &firstPartyUrl, c toGurl(firstPartyUrl), net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); - QWebEngineCookieStore::FilterRequest request = { thirdParty, firstPartyUrl, url }; + QWebEngineCookieStore::FilterRequest request = { firstPartyUrl, url, thirdParty, false, 0}; return filterCallback(request); } @@ -400,6 +400,16 @@ void QWebEngineCookieStore::setCookieFilter(std::function<bool(const FilterReque */ /*! + \variable QWebEngineCookieStore::FilterRequest::_reservedFlag + \internal +*/ + +/*! + \variable QWebEngineCookieStore::FilterRequest::_reservedType + \internal +*/ + +/*! \variable QWebEngineCookieStore::FilterRequest::origin \brief The URL of the script or content accessing a cookie. diff --git a/src/core/api/qwebenginecookiestore.h b/src/core/api/qwebenginecookiestore.h index a62765f77..87d7390a3 100644 --- a/src/core/api/qwebenginecookiestore.h +++ b/src/core/api/qwebenginecookiestore.h @@ -62,9 +62,11 @@ class QWEBENGINE_EXPORT QWebEngineCookieStore : public QObject { public: struct FilterRequest { - bool thirdParty; QUrl firstPartyUrl; QUrl origin; + bool thirdParty; + bool _reservedFlag; + ushort _reservedType; }; virtual ~QWebEngineCookieStore(); |