summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/blocklists.js
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:32:13 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 13:07:29 -0500
commit41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce (patch)
treeab1812ebad2c2f5eb46010b8af880ad022e054db /browser/components/preferences/blocklists.js
parente07abdd2822f11b1cc10705ee47734b848acb0ce (diff)
downloadUXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.gz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.lz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.tar.xz
UXP-41d68e3f70b0aabc01cf9a49c43cf1aab0f4bdce.zip
Make safebrowsing optional at build time - Part 5: preferences
Diffstat (limited to 'browser/components/preferences/blocklists.js')
-rw-r--r--browser/components/preferences/blocklists.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/browser/components/preferences/blocklists.js b/browser/components/preferences/blocklists.js
index bc39eb6bd..c0ce5b656 100644
--- a/browser/components/preferences/blocklists.js
+++ b/browser/components/preferences/blocklists.js
@@ -6,9 +6,11 @@ Components.utils.import("resource://gre/modules/Services.jsm");
const BASE_LIST_ID = "base";
const CONTENT_LIST_ID = "content";
const TRACK_SUFFIX = "-track-digest256";
+#ifdef MOZ_SAFE_BROWSING
const TRACKING_TABLE_PREF = "urlclassifier.trackingTable";
const LISTS_PREF_BRANCH = "browser.safebrowsing.provider.mozilla.lists.";
const UPDATE_TIME_PREF = "browser.safebrowsing.provider.mozilla.nextupdatetime";
+#endif
var gBlocklistManager = {
_type: "",