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:
parent
b4296e1c9b
commit
ae3e0d97b5
2 changed files with 11 additions and 4 deletions
|
@ -12,6 +12,8 @@
|
|||
|
||||
namespace WebView {
|
||||
|
||||
Optional<String> get_public_suffix(StringView host);
|
||||
|
||||
enum class AppendTLD {
|
||||
No,
|
||||
Yes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue