Serenity Operating System
at master 22 lines 458 B view raw
1/* 2 * Copyright (c) 2022, Linus Groh <linusg@serenityos.org> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <AK/Forward.h> 10#include <LibWeb/Forward.h> 11 12namespace Web::SecureContexts { 13 14enum class Trustworthiness { 15 PotentiallyTrustworthy, 16 NotTrustworthy, 17}; 18 19[[nodiscard]] Trustworthiness is_origin_potentially_trustworthy(HTML::Origin const&); 20[[nodiscard]] Trustworthiness is_url_potentially_trustworthy(AK::URL const&); 21 22}