LibWeb: Make StorageKey serializable over IPC

This commit is contained in:
Shannon Booth
2026-04-10 21:07:58 +02:00
committed by Shannon Booth
parent aca463883f
commit 98ca5e0635
Notes: github-actions[bot] 2026-04-14 16:44:37 +00:00
2 changed files with 30 additions and 0 deletions

View File

@@ -51,3 +51,13 @@ struct Traits<Web::StorageAPI::StorageKey> : public DefaultTraits<Web::StorageAP
};
}
namespace IPC {
template<>
WEB_API ErrorOr<void> encode(Encoder&, Web::StorageAPI::StorageKey const&);
template<>
WEB_API ErrorOr<Web::StorageAPI::StorageKey> decode(Decoder&);
}