mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-27 14:02:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			458 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			458 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/Forward.h>
 | |
| #include <LibWeb/Forward.h>
 | |
| 
 | |
| namespace Web::SecureContexts {
 | |
| 
 | |
| enum class Trustworthiness {
 | |
|     PotentiallyTrustworthy,
 | |
|     NotTrustworthy,
 | |
| };
 | |
| 
 | |
| [[nodiscard]] Trustworthiness is_origin_potentially_trustworthy(HTML::Origin const&);
 | |
| [[nodiscard]] Trustworthiness is_url_potentially_trustworthy(AK::URL const&);
 | |
| 
 | |
| }
 | 
