summaryrefslogtreecommitdiffstats
path: root/xpcom/base/components.conf
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/base/components.conf')
-rw-r--r--xpcom/base/components.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/xpcom/base/components.conf b/xpcom/base/components.conf
new file mode 100644
index 0000000000..40c78b033c
--- /dev/null
+++ b/xpcom/base/components.conf
@@ -0,0 +1,30 @@
+# -*- 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 = [
+ {
+ 'cid': '{cb6cdb94-e417-4601-b4a5-f991bf41453d}',
+ 'contract_ids': ['@mozilla.org/xpcom/debug;1'],
+ 'legacy_constructor': 'nsDebugImpl::Create',
+ 'headers': ['nsDebugImpl.h'],
+ 'processes': ProcessSelector.ALLOW_IN_GPU_RDD_SOCKET_AND_UTILITY_PROCESS,
+ },
+ {
+ 'cid': '{67b3ac0c-d806-4d48-939e-6a819e6c248f}',
+ 'contract_ids': ['@mozilla.org/message-loop;1'],
+ 'legacy_constructor': 'nsMessageLoopConstructor',
+ 'headers': ['/xpcom/base/nsMessageLoop.h'],
+ },
+ {
+ 'cid': '{68bf4793-5204-45cf-9ee2-69adffbc2e38}',
+ 'contract_ids': ['@mozilla.org/xpcom/memory-watcher;1'],
+ 'singleton': True,
+ 'type': 'mozilla::nsAvailableMemoryWatcherBase',
+ 'headers': ['/xpcom/base/AvailableMemoryWatcher.h'],
+ 'constructor': 'mozilla::nsAvailableMemoryWatcherBase::GetSingleton',
+ 'processes': ProcessSelector.MAIN_PROCESS_ONLY,
+ },
+]