1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

LibWebView+WebContent: Add IPC to update a document's cookie

This commit is contained in:
Timothy Flynn 2022-11-11 11:18:40 -05:00 committed by Linus Groh
parent 18abc6c85d
commit d202999853
6 changed files with 16 additions and 0 deletions

View file

@ -205,6 +205,11 @@ void WebContentClient::did_set_cookie(AK::URL const& url, Web::Cookie::ParsedCoo
m_view.notify_server_did_set_cookie({}, url, cookie, static_cast<Web::Cookie::Source>(source));
}
void WebContentClient::did_update_cookie(AK::URL const& url, Web::Cookie::Cookie const& cookie)
{
m_view.notify_server_did_update_cookie({}, url, cookie);
}
void WebContentClient::did_update_resource_count(i32 count_waiting)
{
m_view.notify_server_did_update_resource_count(count_waiting);