summaryrefslogtreecommitdiffstats
path: root/browser/components/build/nsModule.cpp
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:17:44 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 08:17:44 -0500
commit5909cef47a4aaf458e41e0d2a46b88972b934dff (patch)
treebb29a2fa48196df4ba33af890be6535c46ef3b2e /browser/components/build/nsModule.cpp
parent2f359ed80ccb2cab440c0cda886404ed42ad9fdf (diff)
downloadUXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.gz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.lz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.xz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.zip
Make safebrowsing optional at build time - Part 1: browser/
Diffstat (limited to 'browser/components/build/nsModule.cpp')
-rw-r--r--browser/components/build/nsModule.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/browser/components/build/nsModule.cpp b/browser/components/build/nsModule.cpp
index 1fad0ce68..967da3ebc 100644
--- a/browser/components/build/nsModule.cpp
+++ b/browser/components/build/nsModule.cpp
@@ -86,7 +86,9 @@ static const mozilla::Module::ContractIDEntry kBrowserContracts[] = {
#endif
{ NS_FEEDSNIFFER_CONTRACTID, &kNS_FEEDSNIFFER_CID },
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "basilisk", &kNS_BROWSER_ABOUT_REDIRECTOR_CID },
+#ifdef MOZ_SAFE_BROWSING
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "blocked", &kNS_BROWSER_ABOUT_REDIRECTOR_CID },
+#endif
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "certerror", &kNS_BROWSER_ABOUT_REDIRECTOR_CID },
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "socialerror", &kNS_BROWSER_ABOUT_REDIRECTOR_CID },
{ NS_ABOUT_MODULE_CONTRACTID_PREFIX "providerdirectory", &kNS_BROWSER_ABOUT_REDIRECTOR_CID },