chromium/components/policy/test/data/pref_mapping/DevToolsGenAiSettings.json

[
    {
      "os": [
        "win",
        "linux",
        "mac",
        "chromeos_lacros",
        "chromeos_ash"
      ],
      "policy_pref_mapping_tests": [
        {
          "policies": {
            "DevToolsGenAiSettings": 0
          },
          "prefs": {
            "devtools.gen_ai_settings": {
              "value": 0
            }
          }
        },
        {
          "policies": {
            "DevToolsGenAiSettings": 1
          },
          "prefs": {
            "devtools.gen_ai_settings": {
              "value": 1
            }
          }
        },
        {
          "policies": {
            "DevToolsGenAiSettings": 2
          },
          "prefs": {
            "devtools.gen_ai_settings": {
              "value": 2
            }
          }
        }
      ]
    },
    {
      "note": "The default is changed by default_for_enterprise_users only on Chrome OS",
      "os": [
        "chromeos_ash",
        "chromeos_lacros"
      ],
      "policy_pref_mapping_tests": [
        {
          "policies": {},
          "prefs": {
            "devtools.gen_ai_settings": {
              "value": 1
            }
          }
        }
      ]
    },
    {
      "note": "The default is changed by default_for_enterprise_users only on Chrome OS",
      "os": [
        "win",
        "linux",
        "mac"
      ],
      "policy_pref_mapping_tests": [
        {
          "policies": {},
          "prefs": {
            "devtools.gen_ai_settings": {
              "default_value": 0
            }
          }
        }
      ]
    }
  ]