mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWebView+WebContent: Add IPC to update a document's cookie
This commit is contained in:
parent
18abc6c85d
commit
d202999853
Notes:
sideshowbarker
2024-07-17 09:48:50 +09:00
Author: https://github.com/trflynn89
Commit: d202999853
Pull-request: https://github.com/SerenityOS/serenity/pull/16031
Reviewed-by: https://github.com/linusg
6 changed files with 16 additions and 0 deletions
|
@ -409,6 +409,12 @@ void OutOfProcessWebView::notify_server_did_set_cookie(Badge<WebContentClient>,
|
|||
on_set_cookie(url, cookie, source);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_update_cookie(Badge<WebContentClient>, AK::URL const& url, Web::Cookie::Cookie const& cookie)
|
||||
{
|
||||
if (on_update_cookie)
|
||||
on_update_cookie(url, cookie);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_update_resource_count(i32 count_waiting)
|
||||
{
|
||||
if (on_resource_status_change)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue