Make safebrowsing optional at build time - Part 1: browser/

This commit is contained in:
trav90 2018-05-12 08:17:44 -05:00 committed by Roy Tam
commit e04e651ffe
11 changed files with 26 additions and 4 deletions

View file

@ -2,6 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifdef MOZ_SAFE_BROWSING
var gSafeBrowsing = {
setReportPhishingMenu: function() {
@ -46,3 +47,4 @@ var gSafeBrowsing = {
return SafeBrowsing.getReportURL(name, gBrowser.currentURI);
}
}
#endif