summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginecookiestore_p.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-03-16 11:16:48 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-03-16 18:26:29 +0000
commit327fcc7fd3396219a29a6c8d38dc4774e410c1e9 (patch)
tree12d594340295fe58efe0a35a7ab266bf09f2990d /src/core/api/qwebenginecookiestore_p.h
parent29a9f9d6e4ad9ffee62d3633edb17c1be335203e (diff)
Switch cookie-filter API to std::function
Allows us to use return value instead of magic properties Task-number: QTBUG-66825 Change-Id: I55202a7aca2e662bc214b05caf767d2da496f026 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/api/qwebenginecookiestore_p.h')
-rw-r--r--src/core/api/qwebenginecookiestore_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/api/qwebenginecookiestore_p.h b/src/core/api/qwebenginecookiestore_p.h
index 809aa39b0..e44a80f53 100644
--- a/src/core/api/qwebenginecookiestore_p.h
+++ b/src/core/api/qwebenginecookiestore_p.h
@@ -78,7 +78,7 @@ class QWEBENGINE_PRIVATE_EXPORT QWebEngineCookieStorePrivate
QWebEngineCookieStore *q_ptr;
public:
QtWebEngineCore::CallbackDirectory callbackDirectory;
- QWebEngineCallback<QWebEngineCookieStore::FilterRequest&> filterCallback;
+ std::function<bool(const QWebEngineCookieStore::FilterRequest&)> filterCallback;
QVector<CookieData> m_pendingUserCookies;
quint64 m_nextCallbackId;
bool m_deleteSessionCookiesPending;