<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"]
  },
  "accessibilityFeatures.read": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"]
  },
  "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.
    ]
  },
  "audioModem": [
    {
      "channel": "dev",
      "extension_types": ["extension", "platform_app"]
    },
    {
      "channel": "stable",
      "extension_types": ["extension", "platform_app"],
      "whitelist": [
        "05EBA3051DFCA6AF17070AEE5FE8C66322FF4738",  // http://crbug.com/431978
        "11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2",  // http://crbug.com/458218
        "0EFB879311E9EFBB7C45251F89EC655711B1F6ED",  // http://crbug.com/458218
        "9193D3A51E2FE33B496CDA53EA330423166E7F02",  // http://crbug.com/458218
        "F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89"   // http://crbug.com/458218
      ]
    }
  ],
  "autotestPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "location": "component"
  },
  "background": {
    "channel": "stable",
    "extension_types": [
      "platform_app", "extension", "legacy_packaged_app", "hosted_app"
    ]
  },
  "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"]
  },
  "cast": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "whitelist": [
      "63ED55E43214C211F82122ED56407FF1A807F2A3",  // Dev
      "FA01E0B81978950F2BC5A50512FD769725F57510",  // Beta
      "B11A93E7E5B541F8010245EBDE2C74647D6C14B9",  // Canary
      "F155646B5D1CA545F7E1E4E20D573DFDD44C2540",  // Google Cast Beta
      "16CA7A47AAE4BE49B1E75A6B960C3875E945B264",  // Google Cast Stable
      "C17CD9E6868D7B9C67926E0EC612EA25C768418F",  // http://crbug.com/457908
      "EF2AB692559EA97C3BBDEA018A8C45F92457BD4E"   // http://crbug.com/457908
    ]
  },
  "cast.streaming": [{
    "channel": "dev",
    "extension_types": ["extension"]
  }, {
    "channel": "stable",
    "extension_types": ["extension"],
    "whitelist": [
      "63ED55E43214C211F82122ED56407FF1A807F2A3",  // Dev
      "FA01E0B81978950F2BC5A50512FD769725F57510",  // Beta
      "B11A93E7E5B541F8010245EBDE2C74647D6C14B9",  // Canary<commit_msg>Promote "chrome.browser" API to 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"]
  },
  "accessibilityFeatures.read": {
    "channel": "stable",
    "extension_types": ["extension", "platform_app"]
  },
  "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.
    ]
  },
  "audioModem": [
    {
      "channel": "dev",
      "extension_types": ["extension", "platform_app"]
    },
    {
      "channel": "stable",
      "extension_types": ["extension", "platform_app"],
      "whitelist": [
        "05EBA3051DFCA6AF17070AEE5FE8C66322FF4738",  // http://crbug.com/431978
        "11B478CEC461C766A2DC1E5BEEB7970AE06DC9C2",  // http://crbug.com/458218
        "0EFB879311E9EFBB7C45251F89EC655711B1F6ED",  // http://crbug.com/458218
        "9193D3A51E2FE33B496CDA53EA330423166E7F02",  // http://crbug.com/458218
        "F9119B8B18C7C82B51E7BC6FF816B694F2EC3E89"   // http://crbug.com/458218
      ]
    }
  ],
  "autotestPrivate": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"],
    "location": "component"
  },
  "background": {
    "channel": "stable",
    "extension_types": [
      "platform_app", "extension", "legacy_packaged_app", "hosted_app"
    ]
  },
  "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": "stable",
    "extension_types": ["platform_app"]
  },
  "browsingData": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app"]
  },
  "cast": {
    "channel": "stable",
    "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
    "whitelist": [
      "63ED55E43214C211F82122ED56407FF1A807F2A3",  // Dev
      "FA01E0B81978950F2BC5A50512FD769725F57510",  // Beta
      "B11A93E7E5B541F8010245EBDE2C74647D6C14B9",  // Canary
      "F155646B5D1CA545F7E1E4E20D573DFDD44C2540",  // Google Cast Beta
      "16CA7A47AAE4BE49B1E75A6B960C3875E945B264",  // Google Cast Stable
      "C17CD9E6868D7B9C67926E0EC612EA25C768418F",  // http://crbug.com/457908
      "EF2AB692559EA97C3BBDEA018A8C45F92457BD4E"   // http://crbug.com/457908
    ]
  },
  "cast.streaming": [{
    "channel": "dev",
    "extension_types": ["extension"]
  }, {
    "channel": "stable",
    "extension_types": ["extension"],
    "whitelist": [
      "63ED55E43214C211F82122ED56407FF1A807F2A3",  // Dev
      "<KEY>",  // Beta
      "<KEY>",  // Canary
{'fraction_non_alphanumeric': 0.14753760560478055, 'fraction_numerical': 0.1472285184422007, 'mean_word_length': 3.6961780358006773, 'pattern_counts': {'":': 119, '<': 5, '<?xml version=': 0, '>': 5, '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': '3222689', 'n_tokens_mistral': 4525, 'n_tokens_neox': 3810, 'n_words': 556}