Change-Id: I92dac00111a04138d3511e6ca74a4feab0263cca
// EXTERNAL INCLUDES
#include <string>
+#include <functional>
namespace Dali
{
};
/**
+ * @brief Callback for changing watch.
+ */
+ using WebEngineCookieManagerChangesWatchCallback = std::function<void()>;
+
+ /**
* @brief Constructor.
*/
WebEngineCookieManager() = default;
* @param[in] storage The type of storage
*/
virtual void SetPersistentStorage(const std::string& path, CookiePersistentStorage storage) = 0;
+
+ /**
+ * @brief Watch for cookies' changes in @a manager.
+ *
+ * @param[in] callback function that will be called every time cookies are added, removed or modified.
+ */
+ virtual void ChangesWatch(WebEngineCookieManagerChangesWatchCallback callback) = 0;
};
} // namespace Dali