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

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

Issue 1843523002: ChromeOS: Add SystemTimezoneAutomaticDetection policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@596690--Implement-better-timezone-detection--refactoring-before-policy
Patch Set: Rebased. Created 4 years, 8 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 2681 matching lines...) Expand 10 before | Expand all | Expand 10 after
2692 2692
2693 "DeviceQuirksDownloadEnabled": { 2693 "DeviceQuirksDownloadEnabled": {
2694 "os": ["chromeos"], 2694 "os": ["chromeos"],
2695 "can_be_recommended": false, 2695 "can_be_recommended": false,
2696 "test_policy": { "DeviceQuirksDownloadEnabled": true }, 2696 "test_policy": { "DeviceQuirksDownloadEnabled": true },
2697 "pref_mappings": [ 2697 "pref_mappings": [
2698 { "pref": "cros.device.quirks_download_enabled" } 2698 { "pref": "cros.device.quirks_download_enabled" }
2699 ] 2699 ]
2700 }, 2700 },
2701 2701
2702 "SystemTimezoneAutomaticDetection": {
2703 "os": ["chromeos"],
2704 "test_policy": { "SystemTimezoneAutomaticDetection": 1 },
2705 "pref_mappings": [
2706 { "pref": "cros.device.system_timezone_automatic_detection" }
2707 ]
2708 },
2709
2702 "----- Chrome Frame policies -------------------------------------------": {}, 2710 "----- Chrome Frame policies -------------------------------------------": {},
2703 2711
2704 "ChromeFrameRendererSettings": { 2712 "ChromeFrameRendererSettings": {
2705 }, 2713 },
2706 2714
2707 "RenderInChromeFrameList": { 2715 "RenderInChromeFrameList": {
2708 }, 2716 },
2709 2717
2710 "RenderInHostList": { 2718 "RenderInHostList": {
2711 }, 2719 },
2712 2720
2713 "ChromeFrameContentTypes": { 2721 "ChromeFrameContentTypes": {
2714 }, 2722 },
2715 2723
2716 "GCFUserDataDir": { 2724 "GCFUserDataDir": {
2717 }, 2725 },
2718 2726
2719 "AdditionalLaunchParameters": { 2727 "AdditionalLaunchParameters": {
2720 }, 2728 },
2721 2729
2722 "SuppressChromeFrameTurndownPrompt": { 2730 "SuppressChromeFrameTurndownPrompt": {
2723 }, 2731 },
2724 2732
2725 "SkipMetadataCheck": { 2733 "SkipMetadataCheck": {
2726 } 2734 }
2727 } 2735 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698