mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibWeb: Make Cookie::Cookie transportable over IPC
This commit is contained in:
parent
1837a5301f
commit
2c808958b9
Notes:
sideshowbarker
2024-07-17 05:44:12 +09:00
Author: https://github.com/TobyAsE
Commit: 2c808958b9
Pull-request: https://github.com/SerenityOS/serenity/pull/15614
Reviewed-by: https://github.com/linusg ✅
3 changed files with 51 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
#include <LibCore/DateTime.h>
|
||||
#include <LibIPC/Forward.h>
|
||||
|
||||
namespace Web::Cookie {
|
||||
|
||||
|
@ -31,3 +32,10 @@ struct Cookie {
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
namespace IPC {
|
||||
|
||||
bool encode(Encoder&, Web::Cookie::Cookie const&);
|
||||
ErrorOr<void> decode(Decoder&, Web::Cookie::Cookie&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue