gecko-dev/toolkit/mozapps/update/content
Kirk Steuber 35440f6dd0 Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong
Getting rid of this pref allowed some other code to be removed:
 - Changed nsIUpdateService::stopChecking(duration) to nsIUpdateService::stopCurrentCheck() and got rid of the constants representing durations. The available durations were CURRENT_CHECK, CURRENT_SESSION, and ANY_CHECKS, but only CURRENT_CHECK was ever used.
 - nsIUpdateChecker::stopChecking(CURRENT_SESSION) and nsIUpdateChecker::stopChecking(ANY_CHECKS) were the only mechanisms for setting Checker::_enabled to false, so Checker::_enabled and Checker::enabled were removed. References to Checker::enabled were replaced with checks for nsUpdateService::canCheckForUpdates.
 - In browser/base/content/aboutDialog-appUpdater.js, the updateDisabledAndLocked() function was renamed to updateDisabledByPolicy, since the old name is no longer accurate and the new function name is a better description of the function's actual use.

MozReview-Commit-ID: 4wwqo4ROr1V

--HG--
extra : rebase_source : ea2e0f157dccc02eece585d3d15ebb67a38813d8
extra : intermediate-source : 00f6d87c63dfb940c439b49c8310b3a91be3a912
extra : source : 83c69c5f289572aee6ff5a8c85237bbeaac3cb8b
2018-05-21 14:58:34 -07:00
..
history.js Bug 1443635 - Remove the custom XUL <update> tag r=Paolo 2018-03-06 14:05:03 -08:00
history.xul
updates.css Bug 1443635 - Remove the custom XUL <update> tag r=Paolo 2018-03-06 14:05:03 -08:00
updates.js Bug 1420514 - Remove pref app.update.enabled from the update mechanism r=rstrong 2018-05-21 14:58:34 -07:00
updates.xml Bug 1463320 - Remove the "wizard-base" binding and import the "wizard.css" file as a document stylesheet. r=bgrins 2018-07-10 14:39:35 +01:00
updates.xul Bug 1442829: Remove macBrowserOverlay.xul. r=Gijs 2018-03-19 08:57:12 -07:00