gecko-dev/services/datareporting/tests/xpcshell
Dave Townsend a22c2d1f9e Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
..
head.js Bug 1033836 - Rename services-common to services/common; rs=rnewman 2014-07-02 16:49:36 -07:00
test_policy.js Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong 2015-09-14 11:04:19 -07:00
xpcshell.ini Bug 1147522 - Move SessionRecorder to Toolkit/modules. r=gfritzsche 2015-03-26 11:30:00 -04:00