summaryrefslogtreecommitdiffstats
path: root/extensions/permissions/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/permissions/components.conf')
-rw-r--r--extensions/permissions/components.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/extensions/permissions/components.conf b/extensions/permissions/components.conf
new file mode 100644
index 0000000000..b73d114a3a
--- /dev/null
+++ b/extensions/permissions/components.conf
@@ -0,0 +1,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'],
+ },
+]