# -*- 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': '{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,
    },
]
