mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
23 lines
486 B
C++
23 lines
486 B
C++
/*
|
|
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Forward.h>
|
|
#include <LibURL/Forward.h>
|
|
#include <LibWeb/Forward.h>
|
|
|
|
namespace Web::SecureContexts {
|
|
|
|
enum class Trustworthiness {
|
|
PotentiallyTrustworthy,
|
|
NotTrustworthy,
|
|
};
|
|
|
|
[[nodiscard]] Trustworthiness is_origin_potentially_trustworthy(URL::Origin const&);
|
|
[[nodiscard]] Trustworthiness is_url_potentially_trustworthy(URL::URL const&);
|
|
|
|
}
|