mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
92afde7986
These services had their name added to components.conf: * GfxInfo * ThirdPartyUtil * History * HttpActivityDistributor * UUIDGenerator * ServiceWorkerManager * PermissionManager These services were added to componenets.conf under a different name: * DirectoryService => Directory * IOService => IO * StringBundleService => StringBundle * CacheStorageService => CacheStorage * StreamTransportService => StreamTransport * SocketTransportService => SocketTransport These services weren't migrated to components.conf because only Rust code uses them: * RemoteAgent * XULRuntime * PrefService These services weren't migrated to components.conf because they're unused: * ToolkitChromeRegistry (used as ChromeRegistry) * XULChromeRegistry (used as ChromeRegistry) * Bits (completely unused) These services were already available in components.conf but are still used by rust code: * URIFixup These services weren't migrated because they will be handled in subsequent patchsets: * ObserverService For the record, the following Services are being used by Rust code and must remain until a Rust version of Components.h is written: * RemoteAgent * XULRuntime * PrefService * URIFixup * ObserverService * DirectoryService * ThirdPartyUtil Also the cocoa GfxInfo service was changed to use components.conf instead of registering it at runtime, as all the other widgets were already doing it this way. Differential Revision: https://phabricator.services.mozilla.com/D105521
43 lines
1.7 KiB
Python
43 lines
1.7 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 = [
|
|
{
|
|
'name': 'Directory',
|
|
'js_name': 'dirsvc',
|
|
'cid': '{f00152d0-b40b-11d3-8c9c-000064657374}',
|
|
'contract_ids': ['@mozilla.org/file/directory_service;1'],
|
|
'interfaces': ['nsIDirectoryService', 'nsIProperties'],
|
|
'legacy_constructor': 'nsDirectoryService::Create',
|
|
'headers': ['nsDirectoryService.h'],
|
|
},
|
|
{
|
|
'cid': '{565e3a2c-1dd2-11b2-8da1-b4cef17e568d}',
|
|
'contract_ids': ['@mozilla.org/io/multiplex-input-stream;1'],
|
|
'legacy_constructor': 'nsMultiplexInputStreamConstructor',
|
|
'headers': ['nsMultiplexInputStream.h'],
|
|
},
|
|
{
|
|
'cid': '{e4a0ee4e-0775-457b-9118-b3ae97a7c758}',
|
|
'contract_ids': ['@mozilla.org/pipe;1'],
|
|
'legacy_constructor': 'nsPipeConstructor',
|
|
'headers': ['/xpcom/io/nsPipe.h'],
|
|
},
|
|
{
|
|
'cid': '{7225c040-a9bf-11d3-a197-0050041caf44}',
|
|
'contract_ids': ['@mozilla.org/scriptableinputstream;1'],
|
|
'legacy_constructor': 'nsScriptableInputStream::Create',
|
|
'headers': ['nsScriptableInputStream.h'],
|
|
},
|
|
{
|
|
'cid': '{0abb0835-5000-4790-af28-61b3ba17c295}',
|
|
'contract_ids': ['@mozilla.org/io/string-input-stream;1'],
|
|
'legacy_constructor': 'nsStringInputStreamConstructor',
|
|
'headers': ['/xpcom/build/XPCOMModule.h'],
|
|
'processes': ProcessSelector.ALLOW_IN_SOCKET_PROCESS,
|
|
},
|
|
]
|