#include "content/browser/renderer_host/render_frame_host_csp_context.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "services/network/public/mojom/content_security_policy.mojom.h"
namespace content {
RenderFrameHostCSPContext::RenderFrameHostCSPContext(
RenderFrameHostImpl* render_frame_host)
: … { … }
void RenderFrameHostCSPContext::ReportContentSecurityPolicyViolation(
network::mojom::CSPViolationPtr violation_params) { … }
void RenderFrameHostCSPContext::SanitizeDataForUseInCspViolation(
network::mojom::CSPDirectiveName directive,
GURL* blocked_url,
network::mojom::SourceLocation* source_location) const { … }
}