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

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

Issue 3116027: Add Mac output for policy template generator (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: final nits Created 10 years, 4 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/app/policy/policy_templates.grd ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index fa5190f07649497dc14062e63bab8eec24479663..e44ac69f7f7c9f53791b3f1a3af6568e582da920 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -1,4 +1,4 @@
-[
+{
# policy_templates.json - Metafile for policy templates
#
# This file is used as input to generate the following policy templates:
@@ -79,125 +79,133 @@
# e.g. the name of the caption of ProxyServerDisabled:
# IDS_POLICY_ENUM_PROXYSERVERDISABLED_CAPTION
#
- # The homepage-related policies are split into two groups, because if they
- # are in the same group, then Windows does not allow to set them undefined
- # independently of each other.
- {
- 'name': 'HomepageLocation',
- 'policies': [{
- 'name': 'HomepageLocation',
- 'type': 'string',
- }],
- },
- {
- 'name': 'HomepageIsNewTabPage',
- 'policies': [{
+ 'policy_groups': [
+ # The homepage-related policies are split into two groups, because if they
+ # are in the same group, then Windows does not allow to set them undefined
+ # independently of each other.
+ {
+ 'name': 'HomepageLocation',
+ 'policies': [{
+ 'name': 'HomepageLocation',
+ 'type': 'string',
+ }],
+ },
+ {
'name': 'HomepageIsNewTabPage',
- 'type': 'main',
- }],
- },
- {
- 'name': 'ApplicationLocale',
- 'policies': [{
- 'name': 'ApplicationLocaleValue',
- 'type': 'string',
- }]
- },
- {
- 'name': 'AlternateErrorPagesEnabled',
- 'policies': [{
+ 'policies': [{
+ 'name': 'HomepageIsNewTabPage',
+ 'type': 'main',
+ }],
+ },
+ {
+ 'name': 'ApplicationLocale',
+ 'policies': [{
+ 'name': 'ApplicationLocaleValue',
+ 'type': 'string',
+ }]
+ },
+ {
'name': 'AlternateErrorPagesEnabled',
- 'type': 'main',
- }]
- },
- {
- 'name': 'SearchSuggestEnabled',
- 'policies': [{
+ 'policies': [{
+ 'name': 'AlternateErrorPagesEnabled',
+ 'type': 'main',
+ }]
+ },
+ {
'name': 'SearchSuggestEnabled',
- 'type': 'main'
- }],
- },
- {
- 'name': 'DnsPrefetchingEnabled',
- 'policies': [{
+ 'policies': [{
+ 'name': 'SearchSuggestEnabled',
+ 'type': 'main'
+ }],
+ },
+ {
'name': 'DnsPrefetchingEnabled',
- 'type': 'main'
- }],
- },
- {
- 'name': 'SafeBrowsingEnabled',
- 'policies': [{
+ 'policies': [{
+ 'name': 'DnsPrefetchingEnabled',
+ 'type': 'main'
+ }],
+ },
+ {
'name': 'SafeBrowsingEnabled',
- 'type': 'main',
- }]
- },
- {
- 'name': 'MetricsReportingEnabled',
- 'policies': [{
+ 'policies': [{
+ 'name': 'SafeBrowsingEnabled',
+ 'type': 'main',
+ }]
+ },
+ {
'name': 'MetricsReportingEnabled',
- 'type': 'main'
- }],
- },
- {
- 'name': 'PasswordManagerEnabled',
- 'policies': [{
+ 'policies': [{
+ 'name': 'MetricsReportingEnabled',
+ 'type': 'main'
+ }],
+ },
+ {
'name': 'PasswordManagerEnabled',
- 'type': 'main',
- }]
- },
- {
- 'name': 'DisabledPlugins',
- 'policies': [{
- 'name': 'DisabledPluginsList',
- 'type': 'string',
- }]
- },
- {
- 'name': 'SyncDisabled',
- 'policies': [{
+ 'policies': [{
+ 'name': 'PasswordManagerEnabled',
+ 'type': 'main',
+ }]
+ },
+ {
+ 'name': 'DisabledPlugins',
+ 'policies': [{
+ 'name': 'DisabledPluginsList',
+ 'type': 'string',
+ }]
+ },
+ {
'name': 'SyncDisabled',
- 'type': 'main',
- }]
- },
- {
- 'name': 'Proxy',
- 'policies': [
- {
- 'name': 'ProxyServerMode',
- 'type': 'enum',
- 'items': [
- {'name': 'ProxyServerDisabled', 'value': '0'},
- {'name': 'ProxyServerAutoDetect', 'value': '1'},
- {'name': 'ProxyServerManual', 'value': '2'},
- {'name': 'ProxyServerUseSystem', 'value': '3'},
- ],
- },
- {
- 'name': 'ProxyServer',
- 'type': 'string'
- },
- {
- 'name': 'ProxyPacUrl',
- 'type': 'string'
- },
- {
- 'name': 'ProxyBypassList',
- 'type': 'string'
- },
- ]
- },
- {
- 'name': 'ExtensionInstallBlacklist',
- 'policies': [{
+ 'policies': [{
+ 'name': 'SyncDisabled',
+ 'type': 'main',
+ }]
+ },
+ {
+ 'name': 'Proxy',
+ 'policies': [
+ {
+ 'name': 'ProxyServerMode',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'ProxyServerDisabled', 'value': '0'},
+ {'name': 'ProxyServerAutoDetect', 'value': '1'},
+ {'name': 'ProxyServerManual', 'value': '2'},
+ {'name': 'ProxyServerUseSystem', 'value': '3'},
+ ],
+ },
+ {
+ 'name': 'ProxyServer',
+ 'type': 'string'
+ },
+ {
+ 'name': 'ProxyPacUrl',
+ 'type': 'string'
+ },
+ {
+ 'name': 'ProxyBypassList',
+ 'type': 'string'
+ },
+ ]
+ },
+ {
'name': 'ExtensionInstallBlacklist',
- 'type': 'list',
- }]
- },
- {
- 'name': 'ExtensionInstallWhitelist',
- 'policies': [{
+ 'policies': [{
+ 'name': 'ExtensionInstallBlacklist',
+ 'type': 'list',
+ }]
+ },
+ {
'name': 'ExtensionInstallWhitelist',
- 'type': 'list',
- }]
- }
-]
+ 'policies': [{
+ 'name': 'ExtensionInstallWhitelist',
+ 'type': 'list',
+ }]
+ }
+ ],
+ 'placeholders': [
+ {
+ 'key': '$2',
+ 'value': 'http://www.chromium.org/developers/design-documents/network-settings#TOC-Command-line-options-for-proxy-sett'
+ },
+ ]
+}
« no previous file with comments | « chrome/app/policy/policy_templates.grd ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698