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

Unified Diff: content/public/common/content_features.cc

Issue 2874053003: Add checks for Feature Policy to the mojo Permission Service (Closed)
Patch Set: FP Created 3 years, 7 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: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 06089b3c644c013d4176934e10efe0e7d213ffb4..a5036f0be40f9f4db629fedc0c4f75843e91b2f7 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -239,6 +239,11 @@ const base::Feature kTopDocumentIsolation{"top-document-isolation",
const base::Feature kTouchpadAndWheelScrollLatching{
"TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
+// All Feature Policy to gate the use of permission features like midi,
+// geolocation, camera, microphone, etc.
+const base::Feature kUseFeaturePolicyForPermissions{
+ "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Controls whether vibrate requires user gesture.
const base::Feature kVibrateRequiresUserGesture{
"VibrateRequiresUserGesture", base::FEATURE_ENABLED_BY_DEFAULT};

Powered by Google App Engine
This is Rietveld 408576698