mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
add nsTimingService to the factory for bug 72002 sr=ben
This commit is contained in:
parent
1046c84695
commit
6d96879bfb
@ -38,6 +38,7 @@
|
||||
#include "nsXPConnectFactory.h"
|
||||
#include "nsWindowMediator.h"
|
||||
#include "nsFileLocations.h"
|
||||
#include "nsTimingService.h"
|
||||
|
||||
#ifdef XP_MAC
|
||||
#include "nsMacMIMEDataSource.h"
|
||||
@ -58,6 +59,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(XPConnectFactoryImpl);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowMediator);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFileLocator);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUserInfo);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimingService);
|
||||
|
||||
static nsModuleComponentInfo gAppShellModuleInfo[] =
|
||||
{
|
||||
@ -96,7 +98,12 @@ static nsModuleComponentInfo gAppShellModuleInfo[] =
|
||||
NS_USERINFO_CONTRACTID,
|
||||
nsUserInfoConstructor,
|
||||
},
|
||||
#if XP_MAC
|
||||
{ "Timing Service",
|
||||
NS_TIMINGSERVICE_CID,
|
||||
NS_TIMINGSERVICE_CONTRACTID,
|
||||
nsTimingServiceConstructor,
|
||||
},
|
||||
#if XP_MAC
|
||||
{ "MacMIME data source",
|
||||
NS_NATIVEMIMEDATASOURCE_CID,
|
||||
NS_NATIVEMIMEDATASOURCE_CONTRACTID,
|
||||
@ -107,7 +114,7 @@ static nsModuleComponentInfo gAppShellModuleInfo[] =
|
||||
NS_INTERNETCONFIGSERVICE_CONTRACTID,
|
||||
nsInternetConfigServiceConstructor,
|
||||
},
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE("appshell", gAppShellModuleInfo)
|
||||
|
Loading…
x
Reference in New Issue
Block a user