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

LibWeb: Make Cookie::Cookie transportable over IPC

This commit is contained in:
Tobias Christiansen 2022-10-15 13:54:54 +02:00 committed by Linus Groh
parent 1837a5301f
commit 2c808958b9
3 changed files with 51 additions and 0 deletions

View file

@ -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&);
}