mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	 ed0230bb93
			
		
	
	
		ed0230bb93
		
	
	
	
	
		
			
			This doesn't do anything by itself, the report a violation algorithm will handle this directive itself.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			395 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			395 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2024, Luke Wilde <luke@ladybird.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include <LibWeb/ContentSecurityPolicy/Directives/ReportUriDirective.h>
 | |
| 
 | |
| namespace Web::ContentSecurityPolicy::Directives {
 | |
| 
 | |
| GC_DEFINE_ALLOCATOR(ReportUriDirective);
 | |
| 
 | |
| ReportUriDirective::ReportUriDirective(String name, Vector<String> value)
 | |
|     : Directive(move(name), move(value))
 | |
| {
 | |
| }
 | |
| 
 | |
| }
 |