2016-08-23 05:57:36 +00:00
|
|
|
COMPONENT_M(MEMORY, nsMemoryImpl::Create, Module::ALLOW_IN_GPU_PROCESS)
|
|
|
|
COMPONENT_M(DEBUG, nsDebugImpl::Create, Module::ALLOW_IN_GPU_PROCESS)
|
2010-06-10 18:11:11 +00:00
|
|
|
COMPONENT(ERRORSERVICE, nsErrorService::Create)
|
|
|
|
|
2016-08-23 05:57:36 +00:00
|
|
|
COMPONENT_M(CATEGORYMANAGER, nsCategoryManager::Create, Module::ALLOW_IN_GPU_PROCESS)
|
2010-06-10 18:11:11 +00:00
|
|
|
|
|
|
|
COMPONENT(SCRIPTABLEINPUTSTREAM, nsScriptableInputStream::Create)
|
|
|
|
COMPONENT(BINARYINPUTSTREAM, nsBinaryInputStreamConstructor)
|
|
|
|
COMPONENT(BINARYOUTPUTSTREAM, nsBinaryOutputStreamConstructor)
|
|
|
|
COMPONENT(STORAGESTREAM, nsStorageStreamConstructor)
|
|
|
|
COMPONENT(VERSIONCOMPARATOR, nsVersionComparatorImplConstructor)
|
2011-06-08 18:08:31 +00:00
|
|
|
COMPONENT(SCRIPTABLEBASE64ENCODER, nsScriptableBase64EncoderConstructor)
|
2010-06-10 18:11:11 +00:00
|
|
|
COMPONENT(PIPE, nsPipeConstructor)
|
|
|
|
|
|
|
|
COMPONENT(PROPERTIES, nsPropertiesConstructor)
|
|
|
|
|
|
|
|
COMPONENT(PERSISTENTPROPERTIES, nsPersistentProperties::Create)
|
|
|
|
|
2014-05-15 16:52:58 +00:00
|
|
|
COMPONENT(ARRAY, nsArrayBase::XPCOMConstructor)
|
2010-06-10 18:11:11 +00:00
|
|
|
COMPONENT(CONSOLESERVICE, nsConsoleServiceConstructor)
|
2016-08-23 05:57:36 +00:00
|
|
|
COMPONENT_M(OBSERVERSERVICE, nsObserverService::Create, Module::ALLOW_IN_GPU_PROCESS)
|
2010-06-10 18:11:11 +00:00
|
|
|
|
2016-07-20 20:16:40 +00:00
|
|
|
COMPONENT_M(TIMER, nsTimerConstructor, Module::ALLOW_IN_GPU_PROCESS)
|
2010-06-10 18:11:11 +00:00
|
|
|
|
|
|
|
#define COMPONENT_SUPPORTS(TYPE, Type) \
|
2016-05-03 20:25:41 +00:00
|
|
|
COMPONENT(SUPPORTS_##TYPE, nsSupports##Type##Constructor)
|
2010-06-10 18:11:11 +00:00
|
|
|
|
|
|
|
COMPONENT_SUPPORTS(ID, ID)
|
|
|
|
COMPONENT_SUPPORTS(STRING, String)
|
|
|
|
COMPONENT_SUPPORTS(CSTRING, CString)
|
|
|
|
COMPONENT_SUPPORTS(PRBOOL, PRBool)
|
|
|
|
COMPONENT_SUPPORTS(PRUINT8, PRUint8)
|
|
|
|
COMPONENT_SUPPORTS(PRUINT16, PRUint16)
|
|
|
|
COMPONENT_SUPPORTS(PRUINT32, PRUint32)
|
|
|
|
COMPONENT_SUPPORTS(PRUINT64, PRUint64)
|
|
|
|
COMPONENT_SUPPORTS(PRTIME, PRTime)
|
|
|
|
COMPONENT_SUPPORTS(CHAR, Char)
|
|
|
|
COMPONENT_SUPPORTS(PRINT16, PRInt16)
|
|
|
|
COMPONENT_SUPPORTS(PRINT32, PRInt32)
|
|
|
|
COMPONENT_SUPPORTS(PRINT64, PRInt64)
|
|
|
|
COMPONENT_SUPPORTS(FLOAT, Float)
|
|
|
|
COMPONENT_SUPPORTS(DOUBLE, Double)
|
|
|
|
COMPONENT_SUPPORTS(INTERFACE_POINTER, InterfacePointer)
|
|
|
|
|
|
|
|
#undef COMPONENT_SUPPORTS
|
|
|
|
COMPONENT(LOCAL_FILE, nsLocalFile::nsLocalFileConstructor)
|
|
|
|
COMPONENT(DIRECTORY_SERVICE, nsDirectoryService::Create)
|
|
|
|
COMPONENT(PROCESS, nsProcessConstructor)
|
|
|
|
COMPONENT(ENVIRONMENT, nsEnvironment::Create)
|
|
|
|
|
|
|
|
COMPONENT(THREADMANAGER, nsThreadManagerGetSingleton)
|
2016-10-07 08:13:33 +00:00
|
|
|
COMPONENT_M(THREADPOOL, nsThreadPoolConstructor, Module::ALLOW_IN_GPU_PROCESS)
|
2010-06-10 18:11:11 +00:00
|
|
|
|
|
|
|
COMPONENT(STRINGINPUTSTREAM, nsStringInputStreamConstructor)
|
|
|
|
COMPONENT(MULTIPLEXINPUTSTREAM, nsMultiplexInputStreamConstructor)
|
|
|
|
|
2015-10-09 17:24:23 +00:00
|
|
|
COMPONENT(VARIANT, nsVariantCCConstructor)
|
2010-06-10 18:11:11 +00:00
|
|
|
|
2014-09-08 16:41:32 +00:00
|
|
|
COMPONENT(HASH_PROPERTY_BAG, nsHashPropertyBagCCConstructor)
|
2010-06-10 18:11:11 +00:00
|
|
|
|
|
|
|
COMPONENT(UUID_GENERATOR, nsUUIDGeneratorConstructor)
|
|
|
|
|
|
|
|
#if defined(XP_WIN)
|
|
|
|
COMPONENT(WINDOWSREGKEY, nsWindowsRegKeyConstructor)
|
|
|
|
#endif
|
|
|
|
|
2010-04-27 12:57:34 +00:00
|
|
|
#if defined(MOZ_WIDGET_COCOA)
|
2010-06-10 18:11:11 +00:00
|
|
|
COMPONENT(MACUTILSIMPL, nsMacUtilsImplConstructor)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
COMPONENT(SYSTEMINFO, nsSystemInfoConstructor)
|
2017-01-27 00:35:54 +00:00
|
|
|
COMPONENT_M(MEMORY_REPORTER_MANAGER, nsMemoryReporterManagerConstructor, Module::ALLOW_IN_GPU_PROCESS)
|
2012-10-30 00:41:14 +00:00
|
|
|
COMPONENT(MEMORY_INFO_DUMPER, nsMemoryInfoDumperConstructor)
|
2010-06-10 18:11:11 +00:00
|
|
|
COMPONENT(IOUTIL, nsIOUtilConstructor)
|
2010-08-12 00:03:23 +00:00
|
|
|
COMPONENT(CYCLE_COLLECTOR_LOGGER, nsCycleCollectorLoggerConstructor)
|
2012-10-25 15:36:24 +00:00
|
|
|
COMPONENT(MESSAGE_LOOP, nsMessageLoopConstructor)
|