зеркало из https://github.com/mozilla/gecko-dev.git
35440f6dd0
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 |
||
---|---|---|
.. | ||
history.js | ||
history.xul | ||
updates.css | ||
updates.js | ||
updates.xml | ||
updates.xul |