services/docs/datareporting.rst

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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