mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-26 01:08:39 +09:00
Revert "Make nsIUserInfo component optional with --disable-userinfo at build time"
This commit is contained in:
parent
c672f9fc86
commit
d0e0acb1fa
5 changed files with 17 additions and 40 deletions
|
|
@ -5,9 +5,7 @@
|
|||
#include "mozilla/ModuleUtils.h"
|
||||
#include "nsAppStartup.h"
|
||||
#include "nsNetCID.h"
|
||||
#ifdef MOZ_USERINFO
|
||||
#include "nsUserInfo.h"
|
||||
#endif
|
||||
#include "nsToolkitCompsCID.h"
|
||||
#include "nsFindService.h"
|
||||
#if defined(MOZ_UPDATER) && !defined(MOZ_WIDGET_ANDROID)
|
||||
|
|
@ -78,9 +76,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPerformanceStatsService, Init)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTerminator)
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_USERINFO)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUserInfo)
|
||||
#endif
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFindService)
|
||||
|
||||
#if !defined(MOZ_DISABLE_PARENTAL_CONTROLS)
|
||||
|
|
@ -145,9 +141,7 @@ NS_DEFINE_NAMED_CID(NS_TOOLKIT_PERFORMANCESTATSSERVICE_CID);
|
|||
#if defined(MOZ_HAS_TERMINATOR)
|
||||
NS_DEFINE_NAMED_CID(NS_TOOLKIT_TERMINATOR_CID);
|
||||
#endif
|
||||
#if defined(NS_USERINFO)
|
||||
NS_DEFINE_NAMED_CID(NS_USERINFO_CID);
|
||||
#endif // defined (MOZ_USERINFO)
|
||||
NS_DEFINE_NAMED_CID(ALERT_NOTIFICATION_CID);
|
||||
NS_DEFINE_NAMED_CID(NS_ALERTSSERVICE_CID);
|
||||
#if !defined(MOZ_DISABLE_PARENTAL_CONTROLS)
|
||||
|
|
@ -185,9 +179,7 @@ static const Module::CIDEntry kToolkitCIDs[] = {
|
|||
#if defined(MOZ_HAS_PERFSTATS)
|
||||
{ &kNS_TOOLKIT_PERFORMANCESTATSSERVICE_CID, false, nullptr, nsPerformanceStatsServiceConstructor },
|
||||
#endif // defined (MOZ_HAS_PERFSTATS)
|
||||
#if defined(MOZ_USERINFO)
|
||||
{ &kNS_USERINFO_CID, false, nullptr, nsUserInfoConstructor },
|
||||
#endif // defined (MOZ_USERINFO)
|
||||
{ &kALERT_NOTIFICATION_CID, false, nullptr, AlertNotificationConstructor },
|
||||
{ &kNS_ALERTSSERVICE_CID, false, nullptr, nsAlertsServiceConstructor },
|
||||
#if !defined(MOZ_DISABLE_PARENTAL_CONTROLS)
|
||||
|
|
@ -227,9 +219,7 @@ static const Module::ContractIDEntry kToolkitContracts[] = {
|
|||
#if defined(MOZ_HAS_PERFSTATS)
|
||||
{ NS_TOOLKIT_PERFORMANCESTATSSERVICE_CONTRACTID, &kNS_TOOLKIT_PERFORMANCESTATSSERVICE_CID },
|
||||
#endif // defined (MOZ_HAS_PERFSTATS)
|
||||
#if defined(NS_USERINFO)
|
||||
{ NS_USERINFO_CONTRACTID, &kNS_USERINFO_CID },
|
||||
#endif // defined(NSUSERINFO)
|
||||
{ ALERT_NOTIFICATION_CONTRACTID, &kALERT_NOTIFICATION_CID },
|
||||
{ NS_ALERTSERVICE_CONTRACTID, &kNS_ALERTSSERVICE_CID },
|
||||
#if !defined(MOZ_DISABLE_PARENTAL_CONTROLS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue