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

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

Issue 8773002: Added 'can_be_recommended' flag to the relevant policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | 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 7ab1f49728f4ddb2bf88aeb32a19e2f9914244de..0bf8885733b13caf016d28ee7ea878e40a5c75ff 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -94,6 +94,9 @@
# documentation should state that the policy supports dynamic refresh or not.
# Supporting dynamic refresh means that Chrome respects the changes to the
# policy immediately, without the need for restart.
+# 'can_be_recommended' can be set to True to include that policy in the
+# recommended policies templates. This only affects the template generation;
+# all policies can be at the recommended level. The default is False.
#
# IDs:
# Since a Protocol Buffer definition is generated from this file, unique and
@@ -130,6 +133,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 'http://chromium.org',
+ 'can_be_recommended': True,
'id': 1,
'caption': '''Configure the home page URL''',
'desc': '''Configures the default home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
@@ -149,6 +153,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 2,
'caption': '''Use New Tab Page as homepage''',
'desc': '''Configures the type of the default home page in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing home page preferences. The home page can either be set to a URL you specify or set to the New Tab Page.
@@ -169,6 +174,7 @@
'supported_on': ['chrome.*:11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
Mattias Nissler (ping if slow) 2011/12/01 10:11:35 What's the point here?
Joao da Silva 2011/12/07 10:28:41 Removed.
'id': 3,
'caption': '''Set Chrome as Default Browser''',
'desc': '''Configures the default browser checks in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing them.
@@ -201,6 +207,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 5,
'caption': '''Enable alternate error pages''',
'desc': '''Enables the use of alternate error pages that are built into <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> (such as 'page not found') and prevents users from changing this setting.
@@ -219,6 +226,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 6,
'caption': '''Enable search suggestions''',
'desc': '''Enables search suggestions in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Omnibox and prevents users from changing this setting.
@@ -237,6 +245,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 7,
'caption': '''Enable network prediction.''',
'desc': '''Enables network prediction in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
@@ -251,6 +260,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
Joao da Silva 2011/12/07 10:28:41 I've removed this one, since there's no knob for t
'id': 8,
'caption': '''Disable SPDY protocol''',
'desc': '''Disables use of the SPDY protocol in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
@@ -443,6 +453,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 0},
'example_value': True,
+ 'can_be_recommended': True,
'id': 14,
'caption': '''Enable Safe Browsing''',
'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Safe Browsing feature and prevents users from changing this setting.
@@ -461,6 +472,7 @@
'supported_on': ['chrome.*:8-'],
'features': {'dynamic_refresh': 0},
'example_value': True,
+ 'can_be_recommended': True,
'id': 15,
'caption': '''Enable reporting of usage and crash-related data''',
'desc': '''Enables anonymous reporting of usage and crash-related data about <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to Google and prevents users from changing this setting.
@@ -485,6 +497,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 16,
'caption': '''Enable the password manager''',
'desc': '''Enables saving passwords and using saved passwords in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
@@ -503,6 +516,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': False,
+ 'can_be_recommended': True,
Mattias Nissler (ping if slow) 2011/12/01 10:11:35 I don't think this makes sense, since the user doe
Joao da Silva 2011/12/07 10:28:41 Right, removed.
'id': 17,
'caption': '''Allow users to show passwords in Password Manager''',
'desc': '''Controls whether the user may show passwords in clear text in the password manager.
@@ -519,6 +533,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': False,
+ 'can_be_recommended': True,
'id': 18,
'caption': '''Enable AutoFill''',
'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s AutoFill feature and allows users to auto complete web forms using previously stored information such as address or credit card information.
@@ -681,6 +696,7 @@
'supported_on': ['chrome.*:11-'],
'features': {'dynamic_refresh': 1},
'example_value': '/home/${user_name}/Downloads',
+ 'can_be_recommended': True,
'id': 64,
'caption': '''Set download directory''',
'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will use for downloading files.
@@ -696,6 +712,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 65,
'caption': '''Clear site data on browser shutdown''',
'desc': '''This policy is an override for the "Clear cookies and other site data when I close my browser" content settings option.
@@ -1041,6 +1058,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 35,
'caption': '''Show Home button on toolbar''',
'desc': '''Shows the Home button on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s toolbar.
@@ -1098,6 +1116,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 4,
+ 'can_be_recommended': True,
'id': 37,
'caption': '''Action on startup''',
'desc': '''Allows you to specify the behavior on startup.
@@ -1118,6 +1137,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://example.com', 'http://chromium.org'],
+ 'can_be_recommended': True,
Joao da Silva 2011/12/07 10:28:41 This has the same effect as the mandatory policy,
'id': 38,
'caption': '''URLs to open on startup''',
'desc': '''If 'Open a list of URLs' is selected as the startup action, this allows you to specify the list of URLs that are opened. If left not set no URL will be opened on start up.
@@ -1132,6 +1152,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': False,
+ 'can_be_recommended': True,
'id': 39,
'caption': '''Block third party cookies''',
'desc': '''Blocks third party cookies.
@@ -1174,6 +1195,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 'My Intranet Search',
+ 'can_be_recommended': True,
Joao da Silva 2011/12/07 10:28:41 These turned out not to work as recommended polici
'id': 41,
'caption': '''Default search provider name''',
'desc': '''Specifies the name of the default search provider. If left empty or not set, the host name specified by the search URL will be used.
@@ -1186,6 +1208,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 'mis',
+ 'can_be_recommended': True,
'id': 42,
'caption': '''Default search provider keyword''',
'desc': '''Specifies the keyword, which is the shortcut used in the omnibox to trigger the search for this provider.
@@ -1200,6 +1223,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 'http://search.my.company/search?q={searchTerms}',
+ 'can_be_recommended': True,
'id': 43,
'caption': '''Default search provider search URL''',
'desc': '''Specifies the URL of the search engine used when doing a default search. The URL should contain the string '<ph name="SEARCH_TERM_MARKER">{searchTerms}</ph>', which will be replaced at query time by the terms the user is searching for.
@@ -1212,6 +1236,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 'http://search.my.company/suggest?q={searchTerms}',
+ 'can_be_recommended': True,
'id': 44,
'caption': '''Default search provider suggest URL''',
'desc': '''Specifies the URL of the search engine used to provide search suggestions. The URL should contain the string '<ph name="SEARCH_TERM_MARKER">{searchTerms}</ph>', which will be replaced at query time by the text the user has entered so far.
@@ -1226,6 +1251,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 'http://search.my.company/suggest?q={searchTerms}',
+ 'can_be_recommended': True,
'id': 45,
'caption': '''Default search provider instant URL''',
'desc': '''Specifies the URL of the search engine used to provide instant results. The URL should contain the string <ph name="SEARCH_TERM_MARKER">'{searchTerms}'</ph>, which will be replaced at query time by the text the user has entered so far.
@@ -1240,6 +1266,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 'http://search.my.company/favicon.ico',
+ 'can_be_recommended': True,
'id': 46,
'caption': '''Default search provider icon''',
'desc': '''Specifies the favorite icon URL of the default search provider.
@@ -1254,6 +1281,7 @@
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['UTF-8', 'UTF-16', 'GB2312', 'ISO-8859-1'],
+ 'can_be_recommended': True,
'id': 47,
'caption': '''Default search provider encodings''',
'desc': '''Specifies the character encodings supported by the search provider. Encodings are code page names like UTF-8, GB2312, and ISO-8859-1. They are tried in the order provided.
@@ -1288,6 +1316,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 1,
+ 'can_be_recommended': True,
Mattias Nissler (ping if slow) 2011/12/01 10:11:35 Not sure whether this would actually do the right
Joao da Silva 2011/12/07 10:28:41 It DCHECKs on debug and is ignored on release. Rem
'id': 48,
'caption': '''Default cookies setting''',
'desc': '''Allows you to set whether websites are allowed to set local data. Setting local data can be either allowed for all websites or denied for all websites.
@@ -1312,6 +1341,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 1,
+ 'can_be_recommended': True,
'id': 49,
'caption': '''Default images setting''',
'desc': '''Allows you to set whether websites are allowed to display images. Displaying images can be either allowed for all websites or denied for all websites.
@@ -1336,6 +1366,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 1,
+ 'can_be_recommended': True,
'id': 50,
'caption': '''Default JavaScript setting''',
'desc': '''Allows you to set whether websites are allowed to run JavaScript. Running JavaScript can be either allowed for all websites or denied for all websites.
@@ -1360,6 +1391,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 1,
+ 'can_be_recommended': True,
'id': 51,
'caption': '''Default plugins setting''',
'desc': '''Allows you to set whether websites are allowed to automatically run plugins. Automatically running plugins can be either allowed for all websites or denied for all websites.
@@ -1384,6 +1416,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 1,
+ 'can_be_recommended': True,
'id': 52,
'caption': '''Default popups setting''',
'desc': '''Allows you to set whether websites are allowed to show pop-ups. Showing popups can be either allowed for all websites or denied for all websites.
@@ -1413,6 +1446,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 2,
+ 'can_be_recommended': True,
'id': 53,
'caption': '''Default notification setting''',
'desc': '''Allows you to set whether websites are allowed to display desktop notifications. Displaying desktop notifications can be allowed by default, denied by default or the user can be asked every time a website wants to show desktop notifications.
@@ -1442,6 +1476,7 @@
'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': 0,
+ 'can_be_recommended': True,
'id': 54,
'caption': '''Default geolocation setting''',
'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked every time a website requests the physical location.
@@ -1466,6 +1501,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 77,
'caption': '''Allow cookies on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set cookies.
@@ -1478,6 +1514,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 67,
'caption': '''Block cookies on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to set cookies.
@@ -1490,6 +1527,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 68,
'caption': '''Allow session only cookies on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to set session only cookies.
@@ -1502,6 +1540,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 69,
'caption': '''Allow images on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display images.
@@ -1514,6 +1553,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 70,
'caption': '''Block images on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display images.
@@ -1526,6 +1566,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 71,
'caption': '''Allow JavaScript on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run JavaScript.
@@ -1538,6 +1579,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 72,
'caption': '''Block JavaScript on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run JavaScript.
@@ -1550,6 +1592,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 73,
'caption': '''Allow plugins on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run plugins.
@@ -1562,6 +1605,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 74,
'caption': '''Block plugins on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run plugins.
@@ -1574,6 +1618,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 75,
'caption': '''Allow popups on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups.
@@ -1586,6 +1631,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 76,
'caption': '''Block popups on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to open popups.
@@ -1598,6 +1644,7 @@
'supported_on': ['chrome.*:16-', 'chrome_os:0.16-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 105,
'caption': '''Allow notifications on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to display notifications.
@@ -1610,6 +1657,7 @@
'supported_on': ['chrome.*:16-', 'chrome_os:0.16-'],
'features': {'dynamic_refresh': 1},
'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'can_be_recommended': True,
'id': 106,
'caption': '''Block notifications on these sites''',
'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to display notifications.
@@ -1752,6 +1800,7 @@
'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 62,
'caption': '''Enable Instant''',
'desc': '''Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Instant feature and prevents users from changing this setting.
@@ -1770,6 +1819,7 @@
'supported_on': ['chrome.*:12-', 'chrome_os:0.12-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 80,
'caption': '''Enable Translate''',
'desc': '''Enables the integrated Google Translate service on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
@@ -1818,6 +1868,7 @@
'supported_on': ['chrome.*:12-', 'chrome_os:0.12-'],
'features': {'dynamic_refresh': 1},
'example_value': True,
+ 'can_be_recommended': True,
'id': 82,
'caption': '''Enable Bookmark Bar''',
'desc': '''Enables the bookmark bar on <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698