Index: Source/core/frame/csp/CSPDirectiveList.h |
diff --git a/Source/core/frame/csp/CSPDirectiveList.h b/Source/core/frame/csp/CSPDirectiveList.h |
index 74b914343fd0993c9e3563f32d6c4473a71e5c5d..90c25374b50a2d20485e5c271175f18508a5de99 100644 |
--- a/Source/core/frame/csp/CSPDirectiveList.h |
+++ b/Source/core/frame/csp/CSPDirectiveList.h |
@@ -5,6 +5,7 @@ |
#ifndef CSPDirectiveList_h |
#define CSPDirectiveList_h |
+#include "core/fetch/Resource.h" |
#include "core/frame/csp/ContentSecurityPolicy.h" |
#include "core/frame/csp/MediaListDirective.h" |
#include "core/frame/csp/SourceListDirective.h" |
@@ -75,6 +76,8 @@ public: |
bool hasPluginTypes() const { return !!m_pluginTypes; }; |
const String& pluginTypesText() const; |
+ bool shouldSendCSPHeader(Resource::Type) const; |
+ |
private: |
CSPDirectiveList(ContentSecurityPolicy*, ContentSecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource); |