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

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

Issue 2739203002: Initial Implementation of Iframe Attribute for Feature Policy (Part 3) (Closed)
Patch Set: Bug fix: frame owner does not always exist. Created 3 years, 9 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 916b780bfe681cca1ac046a7bc08f69f0708b709..da91011cbb5f088845dc21f804e6ee7fbb797b5a 100644
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
@@ -30,6 +30,12 @@ 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
#endif // FeaturePolicy_h

Powered by Google App Engine
This is Rietveld 408576698