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

Side by Side Diff: chrome/test/data/policy/policy_test_cases.json

Issue 426063005: Allow recommended locales to be set for public sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix buffer overflow in test. Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below. The name of the top level entry should be of the form <policy name>[. suffix]. The optional suffix is used for defining multiple test cases for a sing le policy.",
4 4
5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."],
6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.", 6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.",
7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.", 8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.", 9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.",
10 "pref_mappings": [ 10 "pref_mappings": [
(...skipping 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after
2148 }, 2148 },
2149 2149
2150 "EasyUnlockAllowed": { 2150 "EasyUnlockAllowed": {
2151 "os": ["chromeos"], 2151 "os": ["chromeos"],
2152 "test_policy": { "EasyUnlockAllowed": false }, 2152 "test_policy": { "EasyUnlockAllowed": false },
2153 "pref_mappings": [ 2153 "pref_mappings": [
2154 { "pref": "easy_unlock.allowed" } 2154 { "pref": "easy_unlock.allowed" }
2155 ] 2155 ]
2156 }, 2156 },
2157 2157
2158 "SessionLocales": {
2159 "os": ["chromeos"],
2160 "can_be_recommended": true
2161 },
2162
2158 "----- Chrome OS device policies ---------------------------------------": {}, 2163 "----- Chrome OS device policies ---------------------------------------": {},
2159 2164
2160 "DevicePolicyRefreshRate": { 2165 "DevicePolicyRefreshRate": {
2161 "os": ["chromeos"], 2166 "os": ["chromeos"],
2162 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 2167 "test_policy": { "DevicePolicyRefreshRate": 300000 },
2163 "pref_mappings": [ 2168 "pref_mappings": [
2164 { "pref": "policy.device_refresh_rate", 2169 { "pref": "policy.device_refresh_rate",
2165 "local_state": true } 2170 "local_state": true }
2166 ] 2171 ]
2167 }, 2172 },
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
2357 2362
2358 "AdditionalLaunchParameters": { 2363 "AdditionalLaunchParameters": {
2359 }, 2364 },
2360 2365
2361 "SuppressChromeFrameTurndownPrompt": { 2366 "SuppressChromeFrameTurndownPrompt": {
2362 }, 2367 },
2363 2368
2364 "SkipMetadataCheck": { 2369 "SkipMetadataCheck": {
2365 } 2370 }
2366 } 2371 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698