services/datareporting/README.rst
author Hsin-Yi Tsai <htsai@mozilla.com>
Mon, 15 Jul 2013 16:27:19 +0800
changeset 154783 5726180e4834d83a9eed9f4d3bd6bcfccfe8a281
parent 132164 19d084d39eab11b42a8dfd2e73c02a47e0683e23
permissions -rw-r--r--
Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent

======================
Data Reporting Service
======================

This directory contains files related to data collection and reporting
within Gecko applications.

The important files in this directory are:

DataReportingService.js
  An XPCOM service that coordinates collection and reporting of data.

policy.jsm
  A module containing the logic for coordinating and driving collection
  and upload of data.

sessions.jsm
  Records Gecko application session history. This is loaded as part of
  the XPCOM service because it needs to capture state from very early in
  the application lifecycle. Bug 841561 tracks implementing this in C++.


There is other code in the tree that collects and uploads data. The
original intent of this directory and XPCOM service was to serve as a
focal point for the coordination of all this activity so that it could
all be done consistently and properly. This vision may or may not be fully
realized.