summaryrefslogtreecommitdiffstats
path: root/toolkit/components/telemetry/core/components.conf
blob: 4bf617aa6afb19ec1d0714f64a34ccbe3c48a473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- 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/.

Headers = ['mozilla/Telemetry.h']

UnloadFunc = 'mozilla::Telemetry::ShutdownTelemetry'

Classes = [
    {
        'js_name': 'telemetry',
        'cid': '{aea477f2-b3a2-469c-aa29-0a82d132b829}',
        'contract_ids': ['@mozilla.org/base/telemetry;1'],
        'interfaces': ['nsITelemetry'],
        'singleton': True,
        'type': 'nsITelemetry',
        'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_AND_SOCKET_PROCESS,
    },
]