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

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

Issue 2923563003: Move container policy logic to frame owner classes. (Closed)
Patch Set: Addressing nits Created 3 years, 6 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 76bd124cfbaba7325f7b2969092684086f7fc853..392be0253e73ce1b14574c8a14c460273a50cf09 100644
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h
@@ -41,14 +41,6 @@ ParseFeaturePolicy(const String& policy,
Vector<String>* messages,
const FeatureNameMap& feature_names);
-// 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,
- bool allowfullscreen,
- bool allowpayment,
- RefPtr<SecurityOrigin>);
-
// Verifies whether feature policy is enabled and |feature| is supported in
// feature policy.
PLATFORM_EXPORT bool IsSupportedInFeaturePolicy(WebFeaturePolicyFeature);

Powered by Google App Engine
This is Rietveld 408576698