gecko-dev/services/notifications
Gregory Szorc 547a3fcfce Bug 754062 - Add skeleton for browser notifications service; r=gps
This is a reland. The original commit was c53f474c502b and was backed
out in 591fd1c696f0. The next commit is required to make xpcshell tests
not fail.
2012-06-22 09:24:39 -07:00
..
tests Bug 754062 - Add skeleton for browser notifications service; r=gps 2012-06-22 09:24:39 -07:00
Makefile.in Bug 754062 - Add skeleton for browser notifications service; r=gps 2012-06-22 09:24:39 -07:00
NotificationsComponents.manifest Bug 754062 - Add skeleton for browser notifications service; r=gps 2012-06-22 09:24:39 -07:00
README Bug 754062 - Add skeleton for browser notifications service; r=gps 2012-06-22 09:24:39 -07:00
service.js Bug 754062 - Add skeleton for browser notifications service; r=gps 2012-06-22 09:24:39 -07:00
services-notifications.js Bug 754062 - Add skeleton for browser notifications service; r=gps 2012-06-22 09:24:39 -07:00

Here lies most of the moving parts for push notifcations in the browser. DOM
and UI bindings will live elsewhere; these files deal with talking to the API,
storing messages, and creating persistent connections to the notification
server.

Structure:

services.js::Service
  This is a singleton that manages API calls and message storage. It's an
  instance of the NotificationSvc class. Messages and state are persisted to a
  JSON file on disk.