Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: third_party/WebKit/public/web/WebContentSecurityPolicy.h

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sanitize report endpoints from IPC against actual CSP contents. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebContentSecurityPolicy.h
diff --git a/third_party/WebKit/public/web/WebContentSecurityPolicy.h b/third_party/WebKit/public/web/WebContentSecurityPolicy.h
index ed3cdf62b49e55ff43598896aa78865e88478937..8e88b50d9b47bdac76d2fc495b539cfde2f8fbd3 100644
--- a/third_party/WebKit/public/web/WebContentSecurityPolicy.h
+++ b/third_party/WebKit/public/web/WebContentSecurityPolicy.h
@@ -45,6 +45,13 @@ enum WebContentSecurityPolicySource {
WebContentSecurityPolicySourceLast = WebContentSecurityPolicySourceMeta
};
+enum WebContentSecurityPolicyViolationType {
+ WebContentSecurityPolicyInlineViolation,
+ WebContentSecurityPolicyEvalViolation,
+ WebContentSecurityPolicyUrlViolation,
+ WebContentSecurityPolicyViolationTypeLast = WebContentSecurityPolicyUrlViolation
+};
+
} // namespace blink
#endif
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698