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

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

Issue 2902603002: Add enterprise policy for network time service (Closed)
Patch Set: shorten caption Created 3 years, 7 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
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 3060 matching lines...) Expand 10 before | Expand all | Expand 10 after
3071 "DeviceWallpaperImage": { 3071 "DeviceWallpaperImage": {
3072 "url": "http://localhost/", 3072 "url": "http://localhost/",
3073 "hash": "examplewallpaperhash" 3073 "hash": "examplewallpaperhash"
3074 } 3074 }
3075 }, 3075 },
3076 "pref_mappings": [ 3076 "pref_mappings": [
3077 { "pref": "cros.device_wallpaper_image" } 3077 { "pref": "cros.device_wallpaper_image" }
3078 ] 3078 ]
3079 }, 3079 },
3080 3080
3081 "NetworkTimeQueriesEnabled": {
3082 "os": ["win", "linux", "mac", "chromeos"],
3083 "test_policy": { "NetworkTimeQueriesEnabled": true },
3084 "pref_mappings": [
3085 { "pref": "network_time.network_time_queries_enabled",
3086 "local_state": true
3087 }
3088 ]
3089 },
3090
3081 "----- Chrome Frame policies -------------------------------------------": {}, 3091 "----- Chrome Frame policies -------------------------------------------": {},
3082 3092
3083 "ChromeFrameRendererSettings": { 3093 "ChromeFrameRendererSettings": {
3084 }, 3094 },
3085 3095
3086 "RenderInChromeFrameList": { 3096 "RenderInChromeFrameList": {
3087 }, 3097 },
3088 3098
3089 "RenderInHostList": { 3099 "RenderInHostList": {
3090 }, 3100 },
3091 3101
3092 "ChromeFrameContentTypes": { 3102 "ChromeFrameContentTypes": {
3093 }, 3103 },
3094 3104
3095 "GCFUserDataDir": { 3105 "GCFUserDataDir": {
3096 }, 3106 },
3097 3107
3098 "AdditionalLaunchParameters": { 3108 "AdditionalLaunchParameters": {
3099 }, 3109 },
3100 3110
3101 "SuppressChromeFrameTurndownPrompt": { 3111 "SuppressChromeFrameTurndownPrompt": {
3102 }, 3112 },
3103 3113
3104 "SkipMetadataCheck": { 3114 "SkipMetadataCheck": {
3105 } 3115 }
3106 } 3116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698