aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 2e392f408..a7fe6d08b 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -31,6 +31,7 @@
#include "EphyContentPolicy.h"
#include "EphySidebar.h"
#include "EphyAboutModule.h"
+#include "EphyPromptService.h"
#ifdef ENABLE_FILEPICKER
#include "FilePicker.h"
@@ -62,6 +63,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(GPrintingPromptService)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphyContentPolicy)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphySidebar)
NS_GENERIC_FACTORY_CONSTRUCTOR(EphyAboutModule)
+NS_GENERIC_FACTORY_CONSTRUCTOR(EphyPromptService)
#ifdef ENABLE_FILEPICKER
NS_GENERIC_FACTORY_CONSTRUCTOR(GFilePicker)
@@ -221,6 +223,12 @@ static const nsModuleComponentInfo sAppComps[] = {
EphyAboutModuleConstructor
},
#endif
+ {
+ EPHY_PROMPT_SERVICE_CLASSNAME,
+ EPHY_PROMPT_SERVICE_IID,
+ "@mozilla.org/embedcomp/prompt-service;1",
+ EphyPromptServiceConstructor
+ },
};
#if defined(HAVE_MOZILLA_PSM) && !defined(HAVE_GECKO_1_8)