summaryrefslogtreecommitdiffstats
path: root/src/core/cookie_monster_delegate_qt.h
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2015-05-26 13:58:38 +0200
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-07-08 13:16:57 +0000
commitf7c4bab9157e25758ba526a6dce9a86fd4d1674e (patch)
tree512e88aeb9ea236f1c6cabd2e2fc47a43a450759 /src/core/cookie_monster_delegate_qt.h
parent5d56127cb7dbe38f552ac8858a5a7185c997911b (diff)
Add support for batch tasks to the cookie client
This patch adds support for deleteSessionCookies, deleteAllCookies and getAllCookies to make these features directly accessible without the need of subclassing QWebEngineCookieStoreClient and having to implement a less efficient equivalent. Change-Id: I6645bee7fcef38d00dccfaa81f4e9ada86c491df Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/cookie_monster_delegate_qt.h')
-rw-r--r--src/core/cookie_monster_delegate_qt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/cookie_monster_delegate_qt.h b/src/core/cookie_monster_delegate_qt.h
index 7cd76bff0..971a09bbc 100644
--- a/src/core/cookie_monster_delegate_qt.h
+++ b/src/core/cookie_monster_delegate_qt.h
@@ -66,6 +66,9 @@ public:
void setCookie(quint64 callbackId, 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 setCookieMonster(net::CookieMonster* monster);
void setClient(QWebEngineCookieStoreClient *client);