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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
# -*- 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/.
IS_ANDROID = buildconfig.substs['MOZ_WIDGET_TOOLKIT'] == 'android'
IS_WINDOWS = buildconfig.substs['MOZ_WIDGET_TOOLKIT'] == 'windows'
MOZ_HAS_TERMINATOR = not IS_ANDROID
Classes = [
{
'name': 'AddonContentPolicy',
'cid': '{c26a8241-ecf4-4aed-9f3c-f1f5c713b9a5}',
'contract_ids': ['@mozilla.org/addons/content-policy;1'],
'type': 'AddonContentPolicy',
'headers': ['mozilla/AddonContentPolicy.h'],
'categories': {'content-policy': '@mozilla.org/addons/content-policy;1'},
},
{
'cid': '{17a59a6b-92b8-42e5-bce0-ab434c7a7135}',
'contract_ids': ['@mozilla.org/addons/addon-manager-startup;1'],
'singleton': True,
'type': 'mozilla::AddonManagerStartup',
'headers': ['mozilla/AddonManagerStartup.h'],
'constructor': 'mozilla::AddonManagerStartup::GetInstance',
},
{
'name': 'AlertNotification',
'cid': '{9a7b7a41-0b47-47f7-b61b-15a210d6f020}',
'contract_ids': ['@mozilla.org/alert-notification;1'],
'type': 'mozilla::AlertNotification',
'headers': ['mozilla/AlertNotification.h'],
},
{
'name': 'ApplicationReputation',
'cid': '{d21b4c33-716f-4117-8041-2770b59ff8a6}',
'contract_ids': ['@mozilla.org/reputationservice/application-reputation-service;1'],
'singleton': True,
'type': 'ApplicationReputationService',
'headers': ['/toolkit/components/reputationservice/ApplicationReputation.h'],
'constructor': 'ApplicationReputationService::GetSingleton',
},
{
'name': 'DownloadPlatform',
'cid': '{649a14c9-fe5c-48ec-9c85-00cad9ccf32e}',
'contract_ids': ['@mozilla.org/toolkit/download-platform;1'],
'type': 'DownloadPlatform',
'headers': ['/toolkit/components/downloads/DownloadPlatform.h'],
},
{
'name': 'ExtensionPolicy',
'cid': '{562de129-8338-482c-bb96-a1ff09ee53cc}',
'contract_ids': ['@mozilla.org/addons/policy-service;1'],
'singleton': True,
'type': 'mozilla::ExtensionPolicyService',
'headers': ['mozilla/ExtensionPolicyService.h'],
'constructor': 'mozilla::ExtensionPolicyService::GetInstance',
},
{
'cid': '{15686f9d-483e-4361-98cd-37f1e8f1e61d}',
'contract_ids': ['@mozilla.org/toolkit/finalizationwitness;1'],
'type': 'mozilla::FinalizationWitnessService',
'headers': ['mozilla/FinalizationWitnessService.h'],
'init_method': 'Init',
},
{
'name': 'LoginReputation',
'cid': '{91fa9e67-1427-4ee9-8ee0-1a6ed578bee1}',
'contract_ids': ['@mozilla.org/reputationservice/login-reputation-service;1'],
'singleton': True,
'type': 'mozilla::LoginReputationService',
'headers': ['/toolkit/components/reputationservice/LoginReputation.h'],
'constructor': 'mozilla::LoginReputationService::GetSingleton',
},
{
'name': 'Alerts',
'cid': '{a0ccaaf8-09da-44d8-b250-9ac3e93c8117}',
'contract_ids': ['@mozilla.org/alerts-service;1'],
'type': 'nsAlertsService',
'headers': ['/toolkit/components/alerts/nsAlertsService.h'],
'overridable': True,
},
{
'name': 'AppStartup',
'js_name': 'startup',
'cid': '{7dd4d320-c84b-4624-8d45-7bb9b2356977}',
'contract_ids': ['@mozilla.org/toolkit/app-startup;1'],
'interfaces': ['nsIAppStartup'],
'type': 'nsAppStartup',
'headers': ['/toolkit/components/startup/nsAppStartup.h'],
'init_method': 'Init',
},
{
'cid': '{6356aa16-7916-4215-a825-cbc2692ca87a}',
'contract_ids': ['@mozilla.org/appshell/component/browser-status-filter;1'],
'type': 'nsBrowserStatusFilter',
'headers': ['nsBrowserStatusFilter.h'],
},
{
'name': 'FindService',
'cid': '{5060b803-340e-11d5-be5b-b3e063ec6a3c}',
'contract_ids': ['@mozilla.org/find/find_service;1'],
'type': 'nsFindService',
'headers': ['/toolkit/components/find/nsFindService.h'],
},
{
'name': 'TypeAheadFind',
'cid': '{e7f70966-9a37-48d7-8aeb-35998f31090e}',
'contract_ids': ['@mozilla.org/typeaheadfind;1'],
'type': 'nsTypeAheadFind',
'headers': ['/toolkit/components/typeaheadfind/nsTypeAheadFind.h'],
},
{
'name': 'UrlClassifierDB',
'cid': '{7a258022-6765-11e5-b379-b37b1f2354be}',
'contract_ids': [
'@mozilla.org/uriclassifierservice',
'@mozilla.org/url-classifier/dbservice;1',
],
'type': 'nsISupports',
'legacy_constructor': 'nsUrlClassifierDBServiceConstructor',
'headers': ['/toolkit/components/build/nsToolkitCompsModule.h'],
},
{
'name': 'UrlClassifierPrefixSet',
'cid': '{3d8579f0-75fa-4e00-ba41-38661d5b5d17}',
'contract_ids': ['@mozilla.org/url-classifier/prefixset;1'],
'type': 'nsUrlClassifierPrefixSet',
'headers': ['nsUrlClassifierPrefixSet.h'],
},
{
'name': 'UrlClassifierStreamUpdater',
'cid': '{e1797597-f4d6-4dd3-a1e1-745ad352cd80}',
'contract_ids': ['@mozilla.org/url-classifier/streamupdater;1'],
'type': 'nsUrlClassifierStreamUpdater',
'headers': ['/toolkit/components/url-classifier/nsUrlClassifierStreamUpdater.h'],
},
{
'name': 'UrlClassifierUtils',
'cid': '{b7b2ccec-7912-4ea6-a548-b038447004bd}',
'contract_ids': ['@mozilla.org/url-classifier/utils;1'],
'type': 'nsUrlClassifierUtils',
'headers': ['/toolkit/components/url-classifier/nsUrlClassifierUtils.h'],
'constructor': 'nsUrlClassifierUtils::GetXPCOMSingleton',
},
]
if defined('MOZ_UPDATER') and not IS_ANDROID:
Classes += [
{
'cid': '{f3dcf644-79e8-4f59-a1bb-878454488ef9}',
'contract_ids': ['@mozilla.org/updates/update-processor;1'],
'type': 'nsUpdateProcessor',
'headers': ['/toolkit/xre/nsUpdateDriver.h'],
},
{
'cid': '{cf4c4487-66d9-4e18-a2e9-39002245332f}',
'contract_ids': ['@mozilla.org/updates/update-sync-manager;1'],
'type': 'nsUpdateSyncManager',
'singleton': True,
'headers': ['/toolkit/xre/nsUpdateSyncManager.h'],
'constructor': 'nsUpdateSyncManager::GetSingleton',
'processes': ProcessSelector.MAIN_PROCESS_ONLY,
'categories': {'xpcom-startup': 'nsUpdateSyncManager'},
},
]
if not defined('MOZ_DISABLE_PARENTAL_CONTROLS'):
Classes += [
{
'cid': '{580530e5-118c-4bc7-ab88-bc2cd2b97223}',
'contract_ids': ['@mozilla.org/parental-controls-service;1'],
'type': 'nsParentalControlsService',
'headers': ['/toolkit/components/parentalcontrols/nsParentalControlsService.h'],
},
]
if MOZ_HAS_TERMINATOR:
Classes += [
{
'cid': '{2e59cc70-f83a-412f-89d4-453885837217}',
'contract_ids': ['@mozilla.org/toolkit/shutdown-terminator;1'],
'type': 'mozilla::nsTerminator',
'headers': ['nsTerminator.h'],
},
]
|