fune/browser/components/loop/modules
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
..
.eslintrc Bug 1165266 - Upgrade Loop's use of eslint to version 0.21.x and eslint-react-plugin to 2.3.x and enable no-undef rule. r=dmose 2015-05-22 08:53:09 +01:00
CardDavImporter.jsm Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
GoogleImporter.jsm Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
LoopCalls.jsm Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
LoopContacts.jsm Bug 912121 - Rewrite require / import to match source tree. rs=devtools 2015-09-21 12:04:18 -05:00
LoopRooms.jsm Bug 912121 - Rewrite require / import to match source tree. rs=devtools 2015-09-21 12:04:18 -05:00
LoopRoomsCache.jsm Bug 1165861 - Tidy up OSFile error handling in LoopRoomsCache. r=mikedeboer 2015-05-18 13:52:05 +01:00
LoopStorage.jsm Bug 912121 - Rewrite require / import to match source tree. rs=devtools 2015-09-21 12:04:18 -05:00
MozLoopAPI.jsm Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong 2015-09-14 11:04:19 -07:00
MozLoopPushHandler.jsm Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
MozLoopService.jsm Bug 912121 - Rewrite require / import to match source tree. rs=devtools 2015-09-21 12:04:18 -05:00
MozLoopWorker.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00