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

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

Issue 2404373003: Experimental Feature: Allow-CSP-From header (Closed)
Patch Set: Without all those style changes Created 4 years, 2 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/ContentSecurityPolicy.h
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
index 563fb6476f831848a91e1d0db80a92c3e5b236fd..906521368aae9a9818b35b83268a4c472ff905bf 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h
@@ -353,6 +353,9 @@ class CORE_EXPORT ContentSecurityPolicy
static bool isNonceableElement(const Element*);
+ static bool checkAllowBlanketEnforcement(const ResourceResponse&,
Mike West 2016/10/13 11:01:42 Nit: Perhaps naming this something like `shouldEnf
+ const KURL&);
Mike West 2016/10/13 11:01:42 1. As discussed below, passing an origin here woul
+
Document* document() const;
private:

Powered by Google App Engine
This is Rietveld 408576698