| 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 94e84cb65a573af90ae9ba6255c0a0079cdee572..f45ccd19961f77e3ec3c1ffe87149911e8663039 100644
|
| --- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
|
| +++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
|
| @@ -157,6 +157,11 @@ class PLATFORM_EXPORT FeaturePolicy final {
|
|
|
| String toString();
|
|
|
| + // Returns the corresponding WebFeaturePolicyFeature enum given a feature
|
| + // string.
|
| + static WebFeaturePolicyFeature getWebFeaturePolicyFeature(
|
| + const String& feature);
|
| +
|
| private:
|
| friend class FeaturePolicyTest;
|
| friend class FeaturePolicyInFrameTest;
|
|
|