mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
21 lines
356 B
C++
21 lines
356 B
C++
/*
|
|
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/Forward.h>
|
|
|
|
namespace Web::SecureContexts {
|
|
|
|
enum class Trustworthiness {
|
|
PotentiallyTrustworthy,
|
|
NotTrustworthy,
|
|
};
|
|
|
|
[[nodiscard]] Trustworthiness is_origin_potentially_trustworthy(HTML::Origin const&);
|
|
|
|
}
|