| 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 f3114eac1c06d08d739ffb793ca5e1885da0994f..f625d9d49df9b71131a8c6054140bda70b221eff 100644
|
| --- a/third_party/WebKit/Source/core/dom/SecurityContext.h
|
| +++ b/third_party/WebKit/Source/core/dom/SecurityContext.h
|
| @@ -93,9 +93,12 @@ class CORE_EXPORT SecurityContext : public GarbageCollectedMixin {
|
| void enforceSuborigin(const Suborigin&);
|
|
|
| FeaturePolicy* getFeaturePolicy() const { return m_featurePolicy.get(); }
|
| - void setFeaturePolicy(std::unique_ptr<FeaturePolicy> newPolicy) {
|
| + void setFeaturePolicyForTesting(std::unique_ptr<FeaturePolicy> newPolicy) {
|
| m_featurePolicy = std::move(newPolicy);
|
| }
|
| + void setFeaturePolicyFromHeader(const String& headerValue,
|
| + FeaturePolicy* parentFeaturePolicy,
|
| + Vector<String>* messages = nullptr);
|
|
|
| protected:
|
| SecurityContext();
|
|
|