Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h

Issue 2002003002: Generate CSP violation reports for 'block-all-mixed-content' (Closed) Base URL:
Patch Set: PHP Created 4 years, 7 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
Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
index 0f1ded564a052f2492dec655d4bb9b8b84451590..fd28be2cf4e3a0389f4e3ee006aa562936056da2 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
@@ -65,6 +65,9 @@ public:
bool allowStyleHash(const CSPHashValue&, ContentSecurityPolicy::InlineType) const;
bool allowDynamic() const;
+ bool strictMixedContentChecking() const { return m_strictMixedContentCheckingEnforced; }
+ void reportMixedContent(const KURL& mixedURL) const;
const String& evalDisabledErrorMessage() const { return m_evalDisabledErrorMessage; }
ReflectedXSSDisposition getReflectedXSSDisposition() const { return m_reflectedXSSDisposition; }
ReferrerPolicy getReferrerPolicy() const { return m_referrerPolicy; }

Powered by Google App Engine
This is Rietveld 408576698