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

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

Issue 2392923002: Add UI for local manipulation of the PDF plugin preference. (Closed)
Patch Set: Rebased on a cleaned up base CL. Created 4 years, 2 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
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 "test_policy": { "DisabledPluginsExceptions": ["Flash"] }, 381 "test_policy": { "DisabledPluginsExceptions": ["Flash"] },
382 "pref_mappings": [ 382 "pref_mappings": [
383 { "pref": "plugins.plugins_disabled_exceptions" } 383 { "pref": "plugins.plugins_disabled_exceptions" }
384 ] 384 ]
385 }, 385 },
386 386
387 "AlwaysOpenPdfExternally": { 387 "AlwaysOpenPdfExternally": {
388 "os": ["win", "linux", "mac"], 388 "os": ["win", "linux", "mac"],
389 "test_policy": { "AlwaysOpenPdfExternally": true }, 389 "test_policy": { "AlwaysOpenPdfExternally": true },
390 "pref_mappings": [ 390 "pref_mappings": [
391 { "pref": "plugins.always_open_pdf_externally" } 391 { "pref": "plugins.always_open_pdf_externally",
392 "indicator_tests": [
393 { "policy": { "AlwaysOpenPdfExternally": false }},
394 { "policy": { "AlwaysOpenPdfExternally": true }}
395 ]
396 }
392 ] 397 ]
393 }, 398 },
394 399
395 "DisablePluginFinder": { 400 "DisablePluginFinder": {
396 "os": ["win", "linux", "mac", "chromeos"], 401 "os": ["win", "linux", "mac", "chromeos"],
397 "test_policy": { "DisablePluginFinder": true }, 402 "test_policy": { "DisablePluginFinder": true },
398 "pref_mappings": [ 403 "pref_mappings": [
399 { "pref": "plugins.disable_plugin_finder", 404 { "pref": "plugins.disable_plugin_finder",
400 "local_state": true 405 "local_state": true
401 } 406 }
(...skipping 2501 matching lines...) Expand 10 before | Expand all | Expand 10 after
2903 2908
2904 "AdditionalLaunchParameters": { 2909 "AdditionalLaunchParameters": {
2905 }, 2910 },
2906 2911
2907 "SuppressChromeFrameTurndownPrompt": { 2912 "SuppressChromeFrameTurndownPrompt": {
2908 }, 2913 },
2909 2914
2910 "SkipMetadataCheck": { 2915 "SkipMetadataCheck": {
2911 } 2916 }
2912 } 2917 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698