summaryrefslogtreecommitdiffstats
path: root/dom/presentation/components.conf
blob: c71ad39ef4dffb55f81b36cc1c2d1f80f0ee5285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- 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': '{a2b5ef38-a650-4bee-b488-3739f1f3afe7}',
        'contract_ids': ['@mozilla.org/presentation/mockedsockettransport;1'],
        'headers': ['/dom/presentation/MockedSocketTransport.h'],
        'type': 'mozilla::dom::MockedSocketTransport',
    },
    {
        'cid': '{dd2bbf2f-3399-4389-8f5f-d382afb8b2d6}',
        'contract_ids': ['@mozilla.org/presentation/datachanneltransport;1'],
        'jsm': 'resource://gre/modules/PresentationDataChannelSessionTransport.jsm',
        'constructor': 'PresentationTransport',
    },
    {
        'cid': '{215b2f62-46e2-4004-a3d1-6858e56c20f3}',
        'contract_ids': ['@mozilla.org/presentation/datachanneltransportbuilder;1'],
        'jsm': 'resource://gre/modules/PresentationDataChannelSessionTransport.jsm',
        'constructor': 'PresentationTransportBuilder',
    },
]

if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] == 'android':
    Classes += [
        {
            'cid': '{5fb96caa-6d49-4f6b-9a4b-65dd0d51f92d}',
            'contract_ids': ['@mozilla.org/presentation-device/networkHelper;1'],
            'jsm': 'resource://gre/modules/PresentationNetworkHelper.jsm',
            'constructor': 'PresentationNetworkHelper',
        },
    ]