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

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

Issue 2111563002: Device policy for LoginApps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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", "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 2778 matching lines...) Expand 10 before | Expand all | Expand 10 after
2789 }, 2789 },
2790 2790
2791 "LoginVideoCaptureAllowedUrls": { 2791 "LoginVideoCaptureAllowedUrls": {
2792 "os": ["chromeos"], 2792 "os": ["chromeos"],
2793 "test_policy": { "LoginVideoCaptureAllowedUrls": [ "https://example.com" ] } , 2793 "test_policy": { "LoginVideoCaptureAllowedUrls": [ "https://example.com" ] } ,
2794 "pref_mappings": [ 2794 "pref_mappings": [
2795 { "pref": "cros.device.login_video_capture_allowed_urls" } 2795 { "pref": "cros.device.login_video_capture_allowed_urls" }
2796 ] 2796 ]
2797 }, 2797 },
2798 2798
2799 "LoginApps": {
2800 "os": ["chromeos"],
2801 "test_policy": { "LoginApps": [ "abcdefghijklmnopabcdefghijklmnop" ] },
2802 "pref_mappings": [
2803 { "pref": "cros.device.login_apps" }
2804 ]
2805 },
2806
2799 "----- Chrome Frame policies -------------------------------------------": {}, 2807 "----- Chrome Frame policies -------------------------------------------": {},
2800 2808
2801 "ChromeFrameRendererSettings": { 2809 "ChromeFrameRendererSettings": {
2802 }, 2810 },
2803 2811
2804 "RenderInChromeFrameList": { 2812 "RenderInChromeFrameList": {
2805 }, 2813 },
2806 2814
2807 "RenderInHostList": { 2815 "RenderInHostList": {
2808 }, 2816 },
2809 2817
2810 "ChromeFrameContentTypes": { 2818 "ChromeFrameContentTypes": {
2811 }, 2819 },
2812 2820
2813 "GCFUserDataDir": { 2821 "GCFUserDataDir": {
2814 }, 2822 },
2815 2823
2816 "AdditionalLaunchParameters": { 2824 "AdditionalLaunchParameters": {
2817 }, 2825 },
2818 2826
2819 "SuppressChromeFrameTurndownPrompt": { 2827 "SuppressChromeFrameTurndownPrompt": {
2820 }, 2828 },
2821 2829
2822 "SkipMetadataCheck": { 2830 "SkipMetadataCheck": {
2823 } 2831 }
2824 } 2832 }
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