mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00

Originally, RDD reused the GPU process selector since they were using all the same services, and it reduced the number of places that had to be touched. Now that RDD needs pref handling, it needs its own process selector to avoid GPU inheriting pref handling. Differential Revision: https://phabricator.services.mozilla.com/D26566 --HG-- extra : moz-landing-system : lando
29 lines
1.1 KiB
Python
29 lines
1.1 KiB
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': '{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_AND_SOCKET_PROCESS,
|
|
},
|
|
{
|
|
'cid': '{30a04e40-38e7-11d4-8cf5-0060b0fc14a3}',
|
|
'contract_ids': ['@mozilla.org/xpcom/memory-service;1'],
|
|
'legacy_constructor': 'nsMemoryImpl::Create',
|
|
'headers': ['/xpcom/base/nsMemoryImpl.h'],
|
|
'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_AND_SOCKET_PROCESS,
|
|
},
|
|
{
|
|
'cid': '{67b3ac0c-d806-4d48-939e-6a819e6c248f}',
|
|
'contract_ids': ['@mozilla.org/message-loop;1'],
|
|
'legacy_constructor': 'nsMessageLoopConstructor',
|
|
'headers': ['/xpcom/base/nsMessageLoop.h'],
|
|
},
|
|
]
|