services/docs/datareporting.rst

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 .. _data_reporting_service:
     3 ======================
     4 Data Reporting Service
     5 ======================
     7 ``/services/datareporting`` contains files related to an XPCOM service
     8 that collects and reports data within Gecko applications.
    10 The important files in this directory are:
    12 DataReportingService.js
    13    An XPCOM service that coordinates collection and reporting of data.
    15 policy.jsm
    16    A module containing the logic for coordinating and driving collection
    17    and upload of data.
    19 sessions.jsm
    20    Records Gecko application session history. This is loaded as part of
    21    the XPCOM service because it needs to capture state from very early in
    22    the application lifecycle. Bug 841561 tracks implementing this in C++.
    24 There is other code in the tree that collects and uploads data. The
    25 original intent of this directory and XPCOM service was to serve as a
    26 focal point for the coordination of all this activity so that it could
    27 all be done consistently and properly. This vision may or may not be fully
    28 realized.

mercurial