toolkit/mozapps/extensions/components.conf
author Marian-Vasile Laza <mlaza@mozilla.com>
Mon, 06 Feb 2023 13:45:17 +0200
changeset 651854 b06e825a4d8137434a1524b1ef7049f85cdc60d1
parent 621205 6e8dfdb7a82d932f71929df7392b79ee871dfc9e
permissions -rw-r--r--
Backed out changeset 8b3b3c83025d (bug 1797899) for bc failures on browser_AddonStudies.js. CLOSED TREE

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

Classes = [
    {
        'js_name': 'blocklist',
        'cid': '{66354bc9-7ed1-4692-ae1d-8da97d6b205e}',
        'contract_ids': ['@mozilla.org/extensions/blocklist;1'],
        'jsm': 'resource://gre/modules/addonManager.js',
        'constructor': 'BlocklistService',
        'interfaces': ['nsIBlocklistService'],
        'processes': ProcessSelector.MAIN_PROCESS_ONLY,
    },
    {
        'cid': '{4399533d-08d1-458c-a87a-235f74451cfa}',
        'contract_ids': ['@mozilla.org/addons/integration;1'],
        'jsm': 'resource://gre/modules/addonManager.js',
        'constructor': 'amManager',
    },
    {
        'cid': '{9df8ef2b-94da-45c9-ab9f-132eb55fddf1}',
        'contract_ids': ['@mozilla.org/addons/installtrigger;1'],
        'jsm': 'resource://gre/modules/amInstallTrigger.jsm',
        'constructor': 'InstallTrigger',
    },
]

if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] != 'android':
    Classes += [
        {
            'cid': '{7beb3ba8-6ec3-41b4-b67c-da89b8518922}',
            'contract_ids': ['@mozilla.org/uriloader/content-handler;1?type=application/x-xpinstall'],
            'jsm': 'resource://gre/modules/amContentHandler.jsm',
            'constructor': 'amContentHandler',
        },
        {
            'cid': '{8866d8e3-4ea5-48b7-a891-13ba0ac15235}',
            'contract_ids': ['@mozilla.org/addon-web-api/manager;1'],
            'jsm': 'resource://gre/modules/amWebAPI.jsm',
            'constructor': 'WebAPI',
        },
    ]