mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
LibURL+LibWebView: Move public suffix data to LibURL
This commit is contained in:
parent
edcdcea92d
commit
3124dca528
Notes:
github-actions[bot]
2024-11-30 11:24:22 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3124dca528
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2610
Reviewed-by: https://github.com/shannonbooth ✅
10 changed files with 36 additions and 36 deletions
|
@ -1,4 +1,4 @@
|
|||
add_subdirectory(IPCCompiler)
|
||||
add_subdirectory(LibTextCodec)
|
||||
add_subdirectory(LibURL)
|
||||
add_subdirectory(LibWeb)
|
||||
add_subdirectory(LibWebView)
|
||||
|
|
|
@ -56,7 +56,7 @@ ErrorOr<void> generate_header_file(Core::InputBufferedFile&, Core::File& file)
|
|||
#include <AK/Trie.h>
|
||||
#include <AK/Variant.h>
|
||||
|
||||
namespace WebView {
|
||||
namespace URL {
|
||||
|
||||
class PublicSuffixData {
|
||||
protected:
|
||||
|
@ -96,9 +96,9 @@ ErrorOr<void> generate_implementation_file(Core::InputBufferedFile& input, Core:
|
|||
generator.append(R"~~~(
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibWebView/PublicSuffixData.h>
|
||||
#include <LibURL/PublicSuffixData.h>
|
||||
|
||||
namespace WebView {
|
||||
namespace URL {
|
||||
|
||||
static constexpr auto s_public_suffixes = Array {)~~~");
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue