Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h

Issue 2680083002: Initial Implementation of Iframe Attribute for Feature Policy (Part 1) (Closed)
Patch Set: Codereview: nit Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698