summaryrefslogtreecommitdiffstats
path: root/extensions/permissions/components.conf
blob: 62f4f7ba1c56aaf3fd63635c783f6d73f6e1c355 (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
25
# -*- 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 = [
    {
        'name': 'PermissionManager',
        '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'],
    },
]