summaryrefslogtreecommitdiffstats
path: root/toolkit/components/telemetry/components.conf
blob: ea5f9a4cdbe6cbd5b4682a60bfc757aca18044b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

Classes = [
    {
        'cid': '{117b219f-92fe-4bd2-a21b-95a342a9d474}',
        'contract_ids': ['@mozilla.org/base/telemetry-startup;1'],
        'jsm': 'resource://gre/modules/TelemetryStartup.jsm',
        'constructor': 'TelemetryStartup',
        'processes': ProcessSelector.MAIN_PROCESS_ONLY,
    },
    {
        'cid': '{efc1415c-5708-41cc-8226-82bf1d3bee16}',
        'contract_ids': ['@mozilla.org/base/telemetry-controller-content;1'],
        'jsm': 'resource://gre/modules/TelemetryControllerContent.jsm',
        'processes': ProcessSelector.CONTENT_PROCESS_ONLY,
        'constructor': 'getTelemetryController',
        'categories': {'app-startup': 'TelemetryControllerContent'},
    },
]