services/docs/datareporting.rst

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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