2023-09-11 17:49:57 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2023, the SerenityOS developers.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AK/HashMap.h>
|
2024-08-28 10:26:11 -04:00
|
|
|
#include <AK/Optional.h>
|
2023-09-11 17:49:57 +04:00
|
|
|
#include <AK/StringView.h>
|
2025-07-01 20:55:11 -07:00
|
|
|
#include <LibWebView/Forward.h>
|
2023-09-11 17:49:57 +04:00
|
|
|
|
|
|
|
namespace WebView {
|
|
|
|
|
2025-07-01 20:55:11 -07:00
|
|
|
WEBVIEW_API extern OrderedHashMap<StringView, StringView> const user_agents;
|
2023-09-11 17:49:57 +04:00
|
|
|
|
2025-07-01 20:55:11 -07:00
|
|
|
WEBVIEW_API Optional<StringView> normalize_user_agent_name(StringView);
|
2024-08-28 10:26:11 -04:00
|
|
|
|
2023-09-11 17:49:57 +04:00
|
|
|
}
|