LibWeb: Enable EXPLICIT_SYMBOL_EXPORT

This commit is contained in:
ayeteadoe 2025-07-19 19:35:33 -07:00 committed by Andrew Kaster
parent 94a3a7d9a1
commit 3df8e00d91
Notes: github-actions[bot] 2025-08-23 22:05:58 +00:00
256 changed files with 728 additions and 512 deletions

View file

@ -12,6 +12,7 @@
#include <LibIPC/Forward.h>
#include <LibURL/Forward.h>
#include <LibWeb/Cookie/Cookie.h>
#include <LibWeb/Export.h>
namespace Web::Cookie {
@ -28,18 +29,18 @@ struct ParsedCookie {
};
Optional<ParsedCookie> parse_cookie(URL::URL const&, StringView cookie_string);
bool cookie_contains_invalid_control_character(StringView);
bool domain_matches(StringView string, StringView domain_string);
String default_path(URL::URL const&);
WEB_API bool cookie_contains_invalid_control_character(StringView);
WEB_API bool domain_matches(StringView string, StringView domain_string);
WEB_API String default_path(URL::URL const&);
}
namespace IPC {
template<>
ErrorOr<void> encode(Encoder&, Web::Cookie::ParsedCookie const&);
WEB_API ErrorOr<void> encode(Encoder&, Web::Cookie::ParsedCookie const&);
template<>
ErrorOr<Web::Cookie::ParsedCookie> decode(Decoder&);
WEB_API ErrorOr<Web::Cookie::ParsedCookie> decode(Decoder&);
}