mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
00188ff292
In order to bring the GMP process in closer alignment with how other special purpose processes work, we need to be able to use the same component services generally expected. This patch makes the GMP process allow the same services as seen in the GPU/VR/RDD/Utility processes. Differential Revision: https://phabricator.services.mozilla.com/D185336
25 lines
958 B
Python
25 lines
958 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': '{35c66fd1-95e9-4e0a-80c5-c3bd2b375481}',
|
|
'contract_ids': ['@mozilla.org/array;1'],
|
|
'legacy_constructor': 'nsArrayBase::XPCOMConstructor',
|
|
'headers': ['nsArray.h'],
|
|
},
|
|
{
|
|
'name': 'Observer',
|
|
'js_name': 'obs',
|
|
'cid': '{d07f5195-e3d1-11d2-8acd-00105a1b8860}',
|
|
'contract_ids': ['@mozilla.org/observer-service;1'],
|
|
'interfaces': ['nsIObserverService'],
|
|
'legacy_constructor': 'nsObserverService::Create',
|
|
'headers': ['/xpcom/ds/nsObserverService.h'],
|
|
'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_SOCKET_UTILITY_AND_GMPLUGIN_PROCESS,
|
|
},
|
|
]
|