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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 8258018: Generate Chrome policy definition list from policy_templates.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the unittest fix Created 9 years, 2 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: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index 54073aceac648a07b5e81eed990a5e70e7b3f7c9..e2fc49eb72149102f7f2ed7082c018f45bf3e339 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -69,18 +69,24 @@
# platform name, e.g.: 'chrome.win' is read as 'Chrome on Windows'. Version
# numbers can be any string that does not contain ':' or '-' characters.
#
-# Currently supported product names:
-# 'chrome_frame', 'chrome_os'
-# 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*'
-# For example if 'chrome.*:5-10' is specified for a policy, then it should
-# be read as:
-# 'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10'
-# The product name also affects in which templates will the policy be included.
-# chrome.*, chrome.win, chrome_frame -> ADM,ADMX,ADML,doc
-# chrome.*, chrome.linux -> JSON,doc
-# chrome.*, chrome.mac -> plist, plist_strings,doc
+# Currently supported product names:
+# 'chrome_frame', 'chrome_os'
+# 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*'
+# For example if 'chrome.*:5-10' is specified for a policy, then it should
+# be read as:
+# 'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10'
+#
+# The product name also affects in which templates the policy is included:
+# chrome.*, chrome.win, chrome_frame -> ADM, ADMX, ADML, doc
+# chrome.*, chrome.linux -> JSON, doc
+# chrome.*, chrome.mac -> plist, plist_strings, doc
# everything else -> doc
#
+# The default list of policies supported by Chrome is also generated based
+# on the product names:
+# chrome.* -> Chrome policy definition list
+# chrome_os -> Chrome policy definition list, when building OS_CHROMEOS
+#
# Annotations:
# Additional information is specified under keys 'features' and
# 'example_value'. These are used in the generated documentation and example
@@ -384,7 +390,7 @@
{
'name': 'CloudPrintProxyEnabled',
'type': 'main',
- 'supported_on': [],
+ 'supported_on': ['chrome.*:X-'],
'features': {'dynamic_refresh': 1},
'future': True,
'example_value': True,
« no previous file with comments | « chrome/app/policy/cloud_policy_codegen.gyp ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698