components.conf (1465B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 Classes = [ 8 { 9 'name': 'PermissionManager', 10 'js_name': 'perms', 11 'cid': '{4f6b5e00-0c36-11d5-a535-0010a401eb10}', 12 'contract_ids': ['@mozilla.org/permissionmanager;1'], 13 'interfaces': ['nsIPermissionManager'], 14 'singleton': True, 15 'type': 'nsIPermissionManager', 16 'constructor': 'mozilla::PermissionManager::GetXPCOMSingleton', 17 'headers': ['/extensions/permissions/PermissionManager.h'], 18 }, 19 { 20 'cid': '{07611dc6-bf4d-4d8a-a64b-f3a5904dddc7}', 21 'contract_ids': ['@mozilla.org/permissiondelegatehandler;1'], 22 'type': 'PermissionDelegateHandler', 23 'headers': ['/extensions/permissions/PermissionDelegateHandler.h'], 24 }, 25 { 26 'cid': '{a4b1b3b1-b68a-4129-aa2f-eb086162a8c7}', 27 'contract_ids': ['@mozilla.org/remote-permission-service;1'], 28 'esModule': 'resource://gre/modules/RemotePermissionService.sys.mjs', 29 'constructor': 'RemotePermissionService', 30 'singleton': True, 31 'processes': ProcessSelector.MAIN_PROCESS_ONLY, 32 'categories': { 33 'profile-after-change': 'RemotePermissionService', 34 }, 35 }, 36 ]