Ladybird+LibWeb: Move User-Agent definitions to their own file

This is to avoid including any LibProtocol header in Objective-C source
files, which will cause a conflict between the Protocol namespace and a
@Protocol interface.

See Ladybird/AppKit/Application/ApplicationBridge.cpp for why this
conflict unfortunately cannot be worked around.
This commit is contained in:
Timothy Flynn 2024-05-26 11:12:49 -04:00 committed by Andreas Kling
commit 086ddd481d
Notes: sideshowbarker 2024-07-16 22:22:13 +09:00
8 changed files with 69 additions and 54 deletions

View file

@ -12,7 +12,7 @@
#include <LibCore/Resource.h>
#include <LibCore/System.h>
#include <LibWeb/Loader/GeneratedPagesLoader.h>
#include <LibWeb/Loader/ResourceLoader.h>
#include <LibWeb/Loader/UserAgent.h>
namespace Web {