gecko-dev/toolkit/components/processsingleton/components.conf
Kris Maglione f34cca34b0 Bug 1524688: Part 7 - Convert process singletons to static registration r=mconley
--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => toolkit/components/processsingleton/ContentProcessSingleton.jsm
rename : toolkit/components/processsingleton/MainProcessSingleton.js => toolkit/components/processsingleton/MainProcessSingleton.jsm
extra : source : 5ce5986068f031ac17eb43ff278d30b81acdb73c
2019-01-29 18:32:37 -08:00

22 lines
927 B
Python

# -*- 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': '{0636a680-45cb-11e4-916c-0800200c9a66}',
'contract_ids': ['@mozilla.org/main-process-singleton;1'],
'jsm': 'resource://gre/modules/MainProcessSingleton.jsm',
'constructor': 'MainProcessSingleton',
'processes': ProcessSelector.MAIN_PROCESS_ONLY,
},
{
'cid': '{ca2a8470-45c7-11e4-916c-0800200c9a66}',
'contract_ids': ['@mozilla.org/content-process-singleton;1'],
'jsm': 'resource://gre/modules/ContentProcessSingleton.jsm',
'constructor': 'ContentProcessSingleton',
'processes': ProcessSelector.CONTENT_PROCESS_ONLY,
},
]