# -*- 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_SOCKET_UTILITY_AND_GMPLUGIN_PROCESS,
    },
]
