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

Unified Diff: components/policy/resources/policy_templates.json

Issue 344693004: Add a policy to re-enable deprecated web platform features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to ToT Created 6 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
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 28ab324c04161e48a27703a910bdbe144e85daf4..0b8bc0ff64639366e302bf3546644119297aaa74 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -118,7 +118,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 269
+# For your editing convenience: highest ID currently used: 270
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -6490,6 +6490,30 @@
If the policy is left not set, the user can choose an image to be shown on the desktop and on the login screen background.''',
},
+ {
+ 'name': 'EnableDeprecatedWebPlatformFeatures',
+ 'type': 'list',
+ 'schema': {
+ 'type': 'array',
+ 'items': { 'type': 'string' },
+ },
+ 'supported_on': ['chrome.*:37-', 'chrome_os:37-', 'android:37-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': True,
+ },
+ 'example_value': [],
+ 'id': 270,
+ 'caption': '''Enable deprecated web platform features''',
+ 'desc': '''Specify a list of deprecated web platform features to re-enable.
+
+ This policy gives administrators the ability to re-enable deprecated web platform features for a limited time. Features are identified by a string tag and the features corresponding to the tags included in the list specified by this policy will get re-enabled.
+
+ The following tags are currently defined:
+ - ShowModalDialog_EffectiveUntil20150430
+
+ If this policy is left not set or the list is empty, all deprecated web platform features will remain disabled.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698