diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Cookie/Cookie.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Cookie/Cookie.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Cookie/Cookie.cpp b/Userland/Libraries/LibWeb/Cookie/Cookie.cpp index d47d6d92bd..2a43385e64 100644 --- a/Userland/Libraries/LibWeb/Cookie/Cookie.cpp +++ b/Userland/Libraries/LibWeb/Cookie/Cookie.cpp @@ -38,6 +38,7 @@ SameSite same_site_from_string(StringView same_site_mode) } +template<> bool IPC::encode(Encoder& encoder, Web::Cookie::Cookie const& cookie) { encoder << cookie.name; @@ -56,6 +57,7 @@ bool IPC::encode(Encoder& encoder, Web::Cookie::Cookie const& cookie) return true; } +template<> ErrorOr<void> IPC::decode(Decoder& decoder, Web::Cookie::Cookie& cookie) { TRY(decoder.decode(cookie.name)); |