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

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

Issue 2544693002: [Chrome OS] Add a chrome os device wallpaper policy. (Closed)
Patch Set: Address pastarmovj@'s comments. Created 4 years 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
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", "android", "Defaults to empty if not specifie d."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "android", "Defaults to empty if not specifie d."],
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 3005 matching lines...) Expand 10 before | Expand all | Expand 10 after
3016 }, 3016 },
3017 3017
3018 "LoginApps": { 3018 "LoginApps": {
3019 "os": ["chromeos"], 3019 "os": ["chromeos"],
3020 "test_policy": { "LoginApps": [ "abcdefghijklmnopabcdefghijklmnop" ] }, 3020 "test_policy": { "LoginApps": [ "abcdefghijklmnopabcdefghijklmnop" ] },
3021 "pref_mappings": [ 3021 "pref_mappings": [
3022 { "pref": "cros.device.login_apps" } 3022 { "pref": "cros.device.login_apps" }
3023 ] 3023 ]
3024 }, 3024 },
3025 3025
3026 "DeviceWallpaperImage": {
3027 "os": ["chromeos"],
3028 "test_policy": {
3029 "DeviceWallpaperImage": {
3030 "url": "http://localhost/",
3031 "hash": "examplewallpaperhash"
3032 }
3033 },
3034 "pref_mappings": [
3035 { "pref": "cros.device_wallpaper_image" }
3036 ]
3037 },
3038
3026 "----- Chrome Frame policies -------------------------------------------": {}, 3039 "----- Chrome Frame policies -------------------------------------------": {},
3027 3040
3028 "ChromeFrameRendererSettings": { 3041 "ChromeFrameRendererSettings": {
3029 }, 3042 },
3030 3043
3031 "RenderInChromeFrameList": { 3044 "RenderInChromeFrameList": {
3032 }, 3045 },
3033 3046
3034 "RenderInHostList": { 3047 "RenderInHostList": {
3035 }, 3048 },
3036 3049
3037 "ChromeFrameContentTypes": { 3050 "ChromeFrameContentTypes": {
3038 }, 3051 },
3039 3052
3040 "GCFUserDataDir": { 3053 "GCFUserDataDir": {
3041 }, 3054 },
3042 3055
3043 "AdditionalLaunchParameters": { 3056 "AdditionalLaunchParameters": {
3044 }, 3057 },
3045 3058
3046 "SuppressChromeFrameTurndownPrompt": { 3059 "SuppressChromeFrameTurndownPrompt": {
3047 }, 3060 },
3048 3061
3049 "SkipMetadataCheck": { 3062 "SkipMetadataCheck": {
3050 } 3063 }
3051 } 3064 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_provider.cc ('k') | chromeos/settings/cros_settings_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698