1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:37:47 +00:00

Browser: Allow changing of existing Cookies in the CookieJar

And attach all the plumbing through to Tab over BrowserWindow.
This commit is contained in:
Tobias Christiansen 2022-10-16 19:48:19 +02:00 committed by Linus Groh
parent 813ca5ebbe
commit 30360918d4
4 changed files with 35 additions and 0 deletions

View file

@ -28,6 +28,7 @@ class CookieJar {
public:
String get_cookie(const URL& url, Web::Cookie::Source source);
void set_cookie(const URL& url, Web::Cookie::ParsedCookie const& parsed_cookie, Web::Cookie::Source source);
void update_cookie(URL const&, Web::Cookie::Cookie);
void dump_cookies() const;
Vector<Web::Cookie::Cookie> get_all_cookies() const;