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': 'LoginManagerAuthPromptFactory',
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/authprompter;1'],
30
'constructor': 'LoginManagerAuthPrompter',
31
},
32
{
33
'cid': '{c47ff942-9678-44a5-bc9b-05e0d676c79c}',
34
'contract_ids': ['@mozilla.org/login-manager/prompter;1'],
36
'constructor': 'LoginManagerPrompter',
37
},
38
{
39
'cid': '{0f2f347c-1e4f-40cc-8efd-792dea70a85e}',
40
'contract_ids': ['@mozilla.org/login-manager/loginInfo;1'],
42
'constructor': 'nsLoginInfo',
43
},
44
{
45
'cid': '{dc6c2976-0f73-4f1f-b9ff-3d72b4e28309}',
46
'contract_ids': ['@mozilla.org/login-manager/crypto/SDR;1'],
48
'constructor': 'LoginManagerCrypto_SDR',
49
},
50
]
51
52
if buildconfig.substs['OS_TARGET'] == 'Android':
53
Classes += [
54
{
55
'cid': '{337f317f-f713-452a-962d-db831c785fec}',
56
'contract_ids': [
57
'@mozilla.org/login-manager/storage/geckoview;1',
58
'@mozilla.org/login-manager/storage/default;1',
59
],
61
'constructor': 'LoginManagerStorage_geckoview',
62
},
63
]
64
else:
65
Classes += [
66
{
67
'cid': '{c00c432d-a0c9-46d7-bef6-9c45b4d07341}',
68
'contract_ids': [
69
'@mozilla.org/login-manager/storage/json;1',
70
'@mozilla.org/login-manager/storage/default;1',
71
],
73
'constructor': 'LoginManagerStorage_json',
74
},
75
]