зеркало из https://github.com/mozilla/gecko-dev.git
Bug 441636 - Fix compilation on non-dbus platforms
This commit is contained in:
Родитель
a5f91522f2
Коммит
f8390d61c6
|
@ -56,7 +56,9 @@
|
|||
#include "nsPrefetchService.h"
|
||||
#include "nsOfflineCacheUpdate.h"
|
||||
#include "nsLocalHandlerApp.h"
|
||||
#ifdef MOZ_ENABLE_DBUS
|
||||
#include "nsDBusHandlerApp.h"
|
||||
#endif
|
||||
|
||||
// session history
|
||||
#include "nsSHEntry.h"
|
||||
|
@ -113,7 +115,9 @@ NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsOfflineCacheUpdateService,
|
|||
nsOfflineCacheUpdateService::GetInstance)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsOfflineCacheUpdate)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(PlatformLocalHandlerApp_t)
|
||||
#ifdef MOZ_ENABLE_DBUS
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDBusHandlerApp)
|
||||
#endif
|
||||
|
||||
#if defined(XP_MAC) || defined(XP_MACOSX)
|
||||
#include "nsInternetConfigService.h"
|
||||
|
@ -238,9 +242,10 @@ static const nsModuleComponentInfo gDocShellModuleInfo[] = {
|
|||
nsOfflineCacheUpdateConstructor, },
|
||||
{ "Local Application Handler App", NS_LOCALHANDLERAPP_CID,
|
||||
NS_LOCALHANDLERAPP_CONTRACTID, PlatformLocalHandlerApp_tConstructor, },
|
||||
#ifdef MOZ_ENABLE_DBUS
|
||||
{ "DBus Handler App", NS_DBUSHANDLERAPP_CID,
|
||||
NS_DBUSHANDLERAPP_CONTRACTID, nsDBusHandlerAppConstructor},
|
||||
|
||||
#endif
|
||||
#if defined(XP_MAC) || defined(XP_MACOSX)
|
||||
{ "Internet Config Service", NS_INTERNETCONFIGSERVICE_CID, NS_INTERNETCONFIGSERVICE_CONTRACTID,
|
||||
nsInternetConfigServiceConstructor, },
|
||||
|
|
Загрузка…
Ссылка в новой задаче