diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-07-23 10:59:10 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-10 13:56:48 +0000 |
commit | f21f37496501199d0e50b3b4375add235a05a3ec (patch) | |
tree | 01023f21d4de2273045262cfdb4972fe3160687a /src/core/net/cookie_monster_delegate_qt.h | |
parent | 0746e419c1ad5648028d58edd4a2c68fcf586f79 (diff) |
Remove QWebEngineCallback
Was no longer used in exposed APIs
Fixes: QTBUG-74588
Change-Id: Iaf4943983655fc79e67df28f5cd4c4961b360579
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit c4d794898394d7d0f79001a04c8cff50dbc4fba7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/net/cookie_monster_delegate_qt.h')
-rw-r--r-- | src/core/net/cookie_monster_delegate_qt.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/core/net/cookie_monster_delegate_qt.h b/src/core/net/cookie_monster_delegate_qt.h index 9078bcd58..4359119f9 100644 --- a/src/core/net/cookie_monster_delegate_qt.h +++ b/src/core/net/cookie_monster_delegate_qt.h @@ -95,11 +95,11 @@ public: bool hasCookieMonster(); - void setCookie(quint64 callbackId, const QNetworkCookie &cookie, const QUrl &origin); + void setCookie(const QNetworkCookie &cookie, const QUrl &origin); void deleteCookie(const QNetworkCookie &cookie, const QUrl &origin); - void getAllCookies(quint64 callbackId); - void deleteSessionCookies(quint64 callbackId); - void deleteAllCookies(quint64 callbackId); + void getAllCookies(); + void deleteSessionCookies(); + void deleteAllCookies(); void setClient(QWebEngineCookieStore *client); void setMojoCookieManager(network::mojom::CookieManagerPtrInfo cookie_manager_info); @@ -111,11 +111,6 @@ public: void AddStore(net::CookieStore *store); void OnCookieChanged(const net::CookieChangeInfo &change); - -private: - void GetAllCookiesCallbackOnUIThread(qint64 callbackId, const net::CookieList &cookies); - void SetCookieCallbackOnUIThread(qint64 callbackId, net::CookieAccessResult status); - void DeleteCookiesCallbackOnUIThread(qint64 callbackId, uint numCookies); }; } |