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

[
  {
    "can_be_recommended": true,
    "os": [
      "chromeos_ash"
    ],
    "policy_pref_mapping_tests": [
      {
        "policies": {},
        "prefs": {
          "filebrowser.default_handlers_for_file_extensions": {
            "default_value": {}
          }
        }
      },
      {
        "policies": {
          "DefaultHandlersForFileExtensions": [
            {
              "file_extensions": [
                "maps"
              ],
              "policy_id": "https://google.com/maps"
            },
            {
              "file_extensions": [
                "docx",
                "pdf"
              ],
              "policy_id": "pnomlkjighijklmnopabcdefghijklff"
            },
            {
              "file_extensions": [
                "arc",
                "arcpp"
              ],
              "policy_id": "com.android.google.pm"
            },
            {
              "file_extensions": [
                "proj"
              ],
              "policy_id": "projector"
            },
            {
              "file_extensions": [
                "filtered"
              ],
              "policy_id": "unknown_id_should_be_filtered"
            },
            {
              "file_extensions": [
                "pptx"
              ],
              "policy_id": "VirtualTask/microsoft-office"
            },
            {
              "file_extensions": [
                "iwaproxy"
              ],
              "policy_id": "w2gqjem6b4m7vhiqpjr3btcpp7dxfyjt6h4uuyuxklcsmygtgncaaaac"
            },
            {
              "file_extensions": [
                "iwasigned"
              ],
              "policy_id": "egoxo6biqdjrk62rman4vvr5cbq2ozsyydig7jmdxcmohdob2ecaaaic"
            },
            {
              "file_extensions": [
                "invalid_iwa_id_will_be_filtered"
              ],
              "policy_id": "phngluimglwnafhcthulhurlyehwgahnaglfhtagniacthulhufhtagn"
            }
          ]
        },
        "prefs": {
          "filebrowser.default_handlers_for_file_extensions": {
            "value": {
              ".arc": "com.android.google.pm",
              ".arcpp": "com.android.google.pm",
              ".docx": "pnomlkjighijklmnopabcdefghijklff",
              ".maps": "https://google.com/maps",
              ".pdf": "pnomlkjighijklmnopabcdefghijklff",
              ".pptx": "VirtualTask/microsoft-office",
              ".proj": "projector",
              ".iwaproxy": "w2gqjem6b4m7vhiqpjr3btcpp7dxfyjt6h4uuyuxklcsmygtgncaaaac",
              ".iwasigned": "egoxo6biqdjrk62rman4vvr5cbq2ozsyydig7jmdxcmohdob2ecaaaic"
            }
          }
        }
      }
    ]
  }
]