1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +00:00

Browser: Set all cookies at once instead adding them separately

This commit is contained in:
Rafał Babiarz 2022-05-04 21:53:01 +02:00 committed by Linus Groh
parent dc66d16dc2
commit ac991b0a89
5 changed files with 9 additions and 8 deletions

View file

@ -20,7 +20,7 @@ class StorageWidget final : public GUI::Widget {
public:
virtual ~StorageWidget() override = default;
void add_cookie(Web::Cookie::Cookie const& cookie);
void set_cookies_entries(Vector<Web::Cookie::Cookie> entries);
void clear_cookies();
void set_local_storage_entries(OrderedHashMap<String, String> entries);