Chromium Code Reviews| Index: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h |
| diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h |
| index 916b780bfe681cca1ac046a7bc08f69f0708b709..34c0b46a2b1f94f3787f69a97d5e9649bc4e22e6 100644 |
| --- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h |
| +++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h |
| @@ -30,6 +30,11 @@ parseFeaturePolicy(const String& policy, |
| RefPtr<SecurityOrigin>, |
| Vector<String>* messages); |
| +// Given a vector of WebFeaturePolicyFeatures and an origin, creates a vector of |
| +// whitelists, one for each feature specified. |
| +PLATFORM_EXPORT WebParsedFeaturePolicy getContainerPolicyFromAllowedFeatures( |
| + const WebVector<WebFeaturePolicyFeature>& features, |
| + RefPtr<SecurityOrigin>); |
| } // namespace blink |
|
iclelland
2017/03/15 17:14:55
Nit: blank line before closing the namespace
|
| #endif // FeaturePolicy_h |