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

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

Issue 1009583003: Add CSP header for resources with an active policy (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: test tweaks Created 5 years, 9 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: Source/core/frame/csp/CSPDirectiveList.h
diff --git a/Source/core/frame/csp/CSPDirectiveList.h b/Source/core/frame/csp/CSPDirectiveList.h
index 8fbb0e7a3aac2b969eb98bd6ae9cd59fff1c593d..02c137186e73b65cb86d80f974dadf80e8ba6bb9 100644
--- a/Source/core/frame/csp/CSPDirectiveList.h
+++ b/Source/core/frame/csp/CSPDirectiveList.h
@@ -75,6 +75,13 @@ public:
bool hasPluginTypes() const { return !!m_pluginTypes; };
const String& pluginTypesText() const;
+ bool hasScriptPolicy() const;
+ bool hasStylePolicy() const;
+ bool hasImagePolicy() const;
+ bool hasFontPolicy() const;
+ bool hasMediaPolicy() const;
+ bool hasPluginPolicy() const;
Mike West 2015/03/16 10:39:11 Same here. Just pipe a request down into whatever
estark 2015/03/17 18:27:34 Done.
+
private:
CSPDirectiveList(ContentSecurityPolicy*, ContentSecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource);

Powered by Google App Engine
This is Rietveld 408576698