Adds a module that provides a reversable mapping between an number and a UUID. Recovering the number requires knowledge of a common secret key. The implementation is based on AES-128 encryption / decryption, mainly for its properties than it actually needing to be AES-128. Differential Revision: https://phabricator.services.mozilla.com/D304639
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
# 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,
|
|
},
|
|
{
|
|
'cid': '{73d9d02e-8536-4d7e-b184-d6af00a98d55}',
|
|
'contract_ids': ['@mozilla.org/keyed-uuid-mapper;1'],
|
|
'type': 'mozilla::KeyedUUIDMapper',
|
|
'headers': ['/xpcom/base/KeyedUUIDMapper.h'],
|
|
},
|
|
]
|