Source code

Revision control

Other Tools

1
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2
# vim: set filetype=python:
3
# This Source Code Form is subject to the terms of the Mozilla Public
4
# License, v. 2.0. If a copy of the MPL was not distributed with this
5
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
Classes = [
8
{
9
'cid': '{cb9e0de8-3598-4ed7-857b-827f011ad5d8}',
10
'contract_ids': ['@mozilla.org/login-manager;1'],
12
'constructor': 'LoginManager',
13
},
14
{
15
'cid': '{749e62f4-60ae-4569-a8a2-de78b649660e}',
16
'contract_ids': ['@mozilla.org/passwordmanager/authpromptfactory;1'],
18
'constructor': 'LoginManagerPromptFactory',
19
},
20
{
21
'cid': '{2bdac17c-53f1-4896-a521-682ccdeef3a8}',
22
'contract_ids': ['@mozilla.org/login-manager/autocompletesearch;1'],
24
'constructor': 'LoginAutoComplete',
25
},
26
{
27
'cid': '{8aa66d77-1bbb-45a6-991e-b8f47751c291}',
28
'contract_ids': ['@mozilla.org/login-manager/prompter;1'],
30
'constructor': 'LoginManagerPrompter',
31
},
32
{
33
'cid': '{0f2f347c-1e4f-40cc-8efd-792dea70a85e}',
34
'contract_ids': ['@mozilla.org/login-manager/loginInfo;1'],
36
'constructor': 'nsLoginInfo',
37
},
38
{
39
'cid': '{dc6c2976-0f73-4f1f-b9ff-3d72b4e28309}',
40
'contract_ids': ['@mozilla.org/login-manager/crypto/SDR;1'],
42
'constructor': 'LoginManagerCrypto_SDR',
43
},
44
]
45
46
if buildconfig.substs['OS_TARGET'] == 'Android':
47
Classes += [
48
{
49
'cid': '{337f317f-f713-452a-962d-db831c785fec}',
50
'contract_ids': [
51
'@mozilla.org/login-manager/storage/geckoview;1',
52
'@mozilla.org/login-manager/storage/default;1',
53
],
55
'constructor': 'LoginManagerStorage_geckoview',
56
},
57
]
58
else:
59
Classes += [
60
{
61
'cid': '{c00c432d-a0c9-46d7-bef6-9c45b4d07341}',
62
'contract_ids': [
63
'@mozilla.org/login-manager/storage/json;1',
64
'@mozilla.org/login-manager/storage/default;1',
65
],
67
'constructor': 'LoginManagerStorage_json',
68
},
69
]