summaryrefslogtreecommitdiffstats
path: root/extensions/permissions/components.conf
blob: b73d114a3ae69fd0d92d76126d9683a62aa51314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- 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': 'perms',
        'cid': '{4f6b5e00-0c36-11d5-a535-0010a401eb10}',
        'contract_ids': ['@mozilla.org/permissionmanager;1'],
        'interfaces': ['nsIPermissionManager'],
        'singleton': True,
        'type': 'nsIPermissionManager',
        'constructor': 'mozilla::PermissionManager::GetXPCOMSingleton',
        'headers': ['/extensions/permissions/PermissionManager.h'],
    },
    {
        'cid': '{07611dc6-bf4d-4d8a-a64b-f3a5904dddc7}',
        'contract_ids': ['@mozilla.org/permissiondelegatehandler;1'],
        'type': 'PermissionDelegateHandler',
        'headers': ['/extensions/permissions/PermissionDelegateHandler.h'],
    },
]