/* * Copyright (c) 2022, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::ReferrerPolicy { enum class OriginOnly { Yes, No, }; Optional determine_requests_referrer(Fetch::Infrastructure::Request const&); Optional strip_url_for_use_as_referrer(Optional, OriginOnly origin_only = OriginOnly::No); }