<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This features file defines permissions for extension APIs implemented
// under src/chrome.
// See extensions/common/features/* to understand this file, in particular
// feature.h, simple_feature.h, and base_feature_provider.h.

// To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
//
// $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
// sha1sum | tr '[:lower:]' '[:upper:]'
// 9A0417016F345C934A1A88F55CA17C05014EEEBA  -
//
// Google employees: please update http://go/chrome-api-whitelist to map
// hashes back to ids.

// If you add a new platform_app permission please update the "stubs_app" test:
// chrome/test/data/extensions/api_test/stubs_app/manifest.json

{
  "accessibilityFeatures.modify": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"],
    "platforms": ["chromeos"]
  },
  "accessibilityFeatures.read": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"],
    "platforms": ["chromeos"]
  },
  "accessibilityPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "whitelist": [ "2FCBCE08B34CCA1728A85F1EFBD9A34DD2558B2E" ]
  },
  "activeTab": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "min_manifest_version": 2
  },
  "activityLogPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"],
    "whitelist": [
      "EE17C698905F7F2E6DDC87C9C30F11E164C829F4",  // Watchdog release
      "90113DA9516526D24DAF156C629CC41C049E8882",  // Watchdog testing
      "A9EFD71948A480C87D3B7C758FD938215F445F00",   // Obsolete
      "AE27D69DBE571F4B1694F05C89B710C646792231", // Published ADT.
      "5107DE9024C329EEA9C9A72D94C16723790C6422"  // Apps Developer Tool Dev.
    ]
  },
  "alarms": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "min_manifest_version": 2
  },
  "audio": [
    {
      "channel": "dev",
      "extension_types": ["platform_app"]
    },
    {
      "channel": "stable",
      "extension_types": ["platform_app"],
      "whitelist": [
        "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
        "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
        "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // http://crbug.com/335729
        "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // http://crbug.com/335729
        "307E96539209F95A1A8740C713E6998A73657D96",  // http://crbug.com/335729
        "4F25792AF1AA7483936DE29C07806F203C7170A0",  // http://crbug.com/407693
        "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9",  // http://crbug.com/407693
        "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB",  // http://crbug.com/407693
        "81986D4F846CEDDDB962643FA501D1780DD441BB"   // http://crbug.com/407693
      ]
    }
  ],
  "autotestPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "location": "component"
  },
  "background": [
    {
      "channel": "stable",
      "extension_types": [
        "extension", "legacy_packaged_app", "hosted_app"
      ]
    },
    {
      "channel": "stable",
      "extension_types": ["platform_app"],
      "whitelist": [
        "5B5DA6D054D10DB917AF7D9EAE3C56044D1B0B03",  // http://crbug.com/286542
        "2843C1E82A9B6C6FB49308FDDF4E157B6B44BC2B",  // http://crbug.com/286542
        "3F596D221126DCDFD115CFAA2E5A3141806358AD",  // http://crbug.com/286542
        "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",  // http://crbug.com/320952
        "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",  // http://crbug.com/320952
        "4FE45FA56EF6A25FDE8C302C44045CA9CE8A605A",  // http://crbug.com/320952
        "3D14248405B8A59043420AAC160077C99E7788A9",  // http://crbug.com/398585
        "A6C87307BBE5886CC5F1393025000E2FE8060BF2",  // http://crbug.com/398585
        "3407516021EA3669C0EC8E65E6B9837E5A521B9C",  // http://crbug.com/398585
        "0F585FB1D0FDFBEBCE1FEB5E9DFFB6DA476B8C9B",  // http://crbug.com/405800
        "2D22CDB6583FD0A13758AEBE8B15E45208B4E9A7",  // http://crbug.com/405800
        "A07A5B743CD82A1C2579DB77D353C98A23201EEF",  // http://crbug.com/405800
        "0F42756099D914A026DADFA182871C015735DD95",  // http://crbug.com/405800
        "F16F23C83C5F6DAD9B65A120448B34056DD80691"   // http://crbug.com/413748
      ]
    }
  ],
  "bookmarkManagerPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "whitelist": [
      "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
      "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
      "D57DE394F36DC1C3220E7604C575D29C51A6C495", // http://crbug.com/319444
      "3F65507A3B39259B38C8173C6FFA3D12DF64CCE9"  // http://crbug.com/371562
    ]
  },
  "bookmarks": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"]
  },
  "brailleDisplayPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "location": "component"
  },
  "browser": {
    "channel": "dev",
    "extension_types": ["platform_app"]
  },
  "browsingData": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"]<commit_msg>Whitelist the Hotword Audio Verification App for use of 'browser' API in stable.<commit_after>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This features file defines permissions for extension APIs implemented
// under src/chrome.
// See extensions/common/features/* to understand this file, in particular
// feature.h, simple_feature.h, and base_feature_provider.h.

// To add a new whitelisted ID, SHA-1 it and force it to uppercase. In Bash:
//
// $ echo -n "aaaabbbbccccddddeeeeffffgggghhhh" | \
// sha1sum | tr '[:lower:]' '[:upper:]'
// 9A0417016F345C934A1A88F55CA17C05014EEEBA  -
//
// Google employees: please update http://go/chrome-api-whitelist to map
// hashes back to ids.

// If you add a new platform_app permission please update the "stubs_app" test:
// chrome/test/data/extensions/api_test/stubs_app/manifest.json

{
  "accessibilityFeatures.modify": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"],
    "platforms": ["chromeos"]
  },
  "accessibilityFeatures.read": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"],
    "platforms": ["chromeos"]
  },
  "accessibilityPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "whitelist": [ "2FCBCE08B34CCA1728A85F1EFBD9A34DD2558B2E" ]
  },
  "activeTab": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "min_manifest_version": 2
  },
  "activityLogPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"],
    "whitelist": [
      "EE17C698905F7F2E6DDC87C9C30F11E164C829F4",  // Watchdog release
      "90113DA9516526D24DAF156C629CC41C049E8882",  // Watchdog testing
      "A9EFD71948A480C87D3B7C758FD938215F445F00",   // Obsolete
      "AE27D69DBE571F4B1694F05C89B710C646792231", // Published ADT.
      "5107DE9024C329EEA9C9A72D94C16723790C6422"  // Apps Developer Tool Dev.
    ]
  },
  "alarms": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "min_manifest_version": 2
  },
  "audio": [
    {
      "channel": "dev",
      "extension_types": ["platform_app"]
    },
    {
      "channel": "stable",
      "extension_types": ["platform_app"],
      "whitelist": [
        "8C3741E3AF0B93B6E8E0DDD499BB0B74839EA578",
        "E703483CEF33DEC18B4B6DD84B5C776FB9182BDB",
        "A3BC37E2148AC4E99BE4B16AF9D42DD1E592BBBE",  // http://crbug.com/335729
        "1C93BD3CF875F4A73C0B2A163BB8FBDA8B8B3D80",  // http://crbug.com/335729
        "307E96539209F95A1A8740C713E6998A73657D96",  // http://crbug.com/335729
        "4F25792AF1AA7483936DE29C07806F203C7170A0",  // http://crbug.com/407693
        "BD8781D757D830FC2E85470A1B6E8A718B7EE0D9",  // http://crbug.com/407693
        "4AC2B6C63C6480D150DFDA13E4A5956EB1D0DDBB",  // http://crbug.com/407693
        "81986D4F846CEDDDB962643FA501D1780DD441BB"   // http://crbug.com/407693
      ]
    }
  ],
  "autotestPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "location": "component"
  },
  "background": [
    {
      "channel": "stable",
      "extension_types": [
        "extension", "legacy_packaged_app", "hosted_app"
      ]
    },
    {
      "channel": "stable",
      "extension_types": ["platform_app"],
      "whitelist": [
        "5B5DA6D054D10DB917AF7D9EAE3C56044D1B0B03",  // http://crbug.com/286542
        "2843C1E82A9B6C6FB49308FDDF4E157B6B44BC2B",  // http://crbug.com/286542
        "3F596D221126DCDFD115CFAA2E5A3141806358AD",  // http://crbug.com/286542
        "F7FA7ABC1ECB89BA8EE6656847EFABBF43BB9BCA",  // http://crbug.com/320952
        "4B1D0E19C6C43C008C44A8278C8B5BFE15ABEB3C",  // http://crbug.com/320952
        "4FE45FA56EF6A25FDE8C302C44045CA9CE8A605A",  // http://crbug.com/320952
        "3D14248405B8A59043420AAC160077C99E7788A9",  // http://crbug.com/398585
        "A6C87307BBE5886CC5F1393025000E2FE8060BF2",  // http://crbug.com/398585
        "3407516021EA3669C0EC8E65E6B9837E5A521B9C",  // http://crbug.com/398585
        "0F585FB1D0FDFBEBCE1FEB5E9DFFB6DA476B8C9B",  // http://crbug.com/405800
        "2D22CDB6583FD0A13758AEBE8B15E45208B4E9A7",  // http://crbug.com/405800
        "A07A5B743CD82A1C2579DB77D353C98A23201EEF",  // http://crbug.com/405800
        "0F42756099D914A026DADFA182871C015735DD95",  // http://crbug.com/405800
        "F16F23C83C5F6DAD9B65A120448B34056DD80691"   // http://crbug.com/413748
      ]
    }
  ],
  "bookmarkManagerPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "whitelist": [
      "CB2E4E7174A398FCB3AFA6840500C2E1D22DA7B2", // Bookmark Manager
      "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900
      "D57DE394F36DC1C3220E7604C575D29C51A6C495", // http://crbug.com/319444
      "3F65507A3B39259B38C8173C6FFA3D12DF64CCE9"  // http://crbug.com/371562
    ]
  },
  "bookmarks": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"]
  },
  "brailleDisplayPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "location": "component"
  },
  "browser": [
    {
      "channel": "dev",
      "extension_types": ["platform_app"]
    },
    {
      "channel": "stable",
      "extension_types": ["platform_app"],
      "whitelist": [
        // hotword_audio_verification
        "B6356EFF4047BC5F868C7D91868B6F5C01951A8A"
      ]
    }
  ],
  "browsingData": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"]
{'fraction_non_alphanumeric': 0.14368430429360413, 'fraction_numerical': 0.17797969000534475, 'mean_word_length': 3.5564123376623376, 'pattern_counts': {'":': 117, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2887230', 'n_tokens_mistral': 5565, 'n_tokens_neox': 4588, 'n_words': 578}