mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
Browser: Remove some needless indirection from Cookie-related IPCs
We don't need to forward Cookie-related IPCs from the WebView through the Tab to the BrowserWindow. We can skip the Tab like we do in other chromes. This is primarily to reduce overhead when changing Cookie IPCs in future patches.
This commit is contained in:
parent
8ea4e37c27
commit
dcd9962d7b
3 changed files with 9 additions and 49 deletions
|
@ -70,12 +70,6 @@ public:
|
|||
Function<void(Tab&)> on_tab_close_other_request;
|
||||
Function<void(const URL&)> on_window_open_request;
|
||||
Function<void(Gfx::Bitmap const&)> on_favicon_change;
|
||||
Function<Vector<Web::Cookie::Cookie>(AK::URL const& url)> on_get_all_cookies;
|
||||
Function<Optional<Web::Cookie::Cookie>(AK::URL const& url, ByteString const& name)> on_get_named_cookie;
|
||||
Function<ByteString(const URL&, Web::Cookie::Source source)> on_get_cookie;
|
||||
Function<void(const URL&, Web::Cookie::ParsedCookie const& cookie, Web::Cookie::Source source)> on_set_cookie;
|
||||
Function<void()> on_dump_cookies;
|
||||
Function<void(Web::Cookie::Cookie)> on_update_cookie;
|
||||
Function<Vector<Web::Cookie::Cookie>()> on_get_cookies_entries;
|
||||
Function<OrderedHashMap<String, String>()> on_get_local_storage_entries;
|
||||
Function<OrderedHashMap<String, String>()> on_get_session_storage_entries;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue