1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:58:14 +00:00

LibWebView: Wrap retrieving public suffix data in a helper

This lets outside callers use this API but primarily is to fix the build
when the ENABLE_PUBLIC_SUFFIX_DOWNLOAD CMake option is disabled.
This commit is contained in:
Timothy Flynn 2023-10-20 10:33:31 -04:00 committed by Andreas Kling
parent b4296e1c9b
commit ae3e0d97b5
2 changed files with 11 additions and 4 deletions

View file

@ -12,6 +12,8 @@
namespace WebView {
Optional<String> get_public_suffix(StringView host);
enum class AppendTLD {
No,
Yes,