Index: third_party/WebKit/Source/core/dom/SecurityContext.h |
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.h b/third_party/WebKit/Source/core/dom/SecurityContext.h |
index f625d9d49df9b71131a8c6054140bda70b221eff..b58abaaaa601cc5ab65ccd59b4fe0c59f027d2b7 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.h |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.h |
@@ -33,6 +33,7 @@ |
#include "platform/heap/Handle.h" |
#include "platform/weborigin/Suborigin.h" |
#include "public/platform/WebAddressSpace.h" |
+#include "public/platform/WebFeaturePolicy.h" |
#include "public/platform/WebInsecureRequestPolicy.h" |
#include "public/platform/WebURLRequest.h" |
#include "wtf/HashSet.h" |
@@ -96,9 +97,8 @@ class CORE_EXPORT SecurityContext : public GarbageCollectedMixin { |
void setFeaturePolicyForTesting(std::unique_ptr<FeaturePolicy> newPolicy) { |
m_featurePolicy = std::move(newPolicy); |
} |
- void setFeaturePolicyFromHeader(const String& headerValue, |
- FeaturePolicy* parentFeaturePolicy, |
- Vector<String>* messages = nullptr); |
+ void setFeaturePolicyFromHeader(const WebParsedFeaturePolicy& parsedHeader, |
+ FeaturePolicy* parentFeaturePolicy); |
protected: |
SecurityContext(); |