summaryrefslogtreecommitdiffstats
path: root/xpcom/base/components.conf
blob: 40c78b033c57b2d5e2a867aba5607ae5d225da43 (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
26
27
28
29
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,
    },
]