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
|
# -*- 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 = [
{
'js_name': 'logins',
'cid': '{cb9e0de8-3598-4ed7-857b-827f011ad5d8}',
'contract_ids': ['@mozilla.org/login-manager;1'],
'interfaces': ['nsILoginManager'],
'jsm': 'resource://gre/modules/LoginManager.jsm',
'constructor': 'LoginManager',
},
{
'cid': '{749e62f4-60ae-4569-a8a2-de78b649660e}',
'contract_ids': ['@mozilla.org/passwordmanager/authpromptfactory;1'],
'jsm': 'resource://gre/modules/LoginManagerAuthPrompter.jsm',
'constructor': 'LoginManagerAuthPromptFactory',
},
{
'cid': '{2bdac17c-53f1-4896-a521-682ccdeef3a8}',
'contract_ids': ['@mozilla.org/login-manager/autocompletesearch;1'],
'jsm': 'resource://gre/modules/LoginAutoComplete.jsm',
'constructor': 'LoginAutoComplete',
},
{
'cid': '{8aa66d77-1bbb-45a6-991e-b8f47751c291}',
'contract_ids': ['@mozilla.org/login-manager/authprompter;1'],
'jsm': 'resource://gre/modules/LoginManagerAuthPrompter.jsm',
'constructor': 'LoginManagerAuthPrompter',
},
{
'cid': '{0f2f347c-1e4f-40cc-8efd-792dea70a85e}',
'contract_ids': ['@mozilla.org/login-manager/loginInfo;1'],
'jsm': 'resource://gre/modules/LoginInfo.jsm',
'constructor': 'nsLoginInfo',
},
{
'cid': '{dc6c2976-0f73-4f1f-b9ff-3d72b4e28309}',
'contract_ids': ['@mozilla.org/login-manager/crypto/SDR;1'],
'jsm': 'resource://gre/modules/crypto-SDR.js',
'constructor': 'LoginManagerCrypto_SDR',
},
]
if buildconfig.substs['OS_TARGET'] == 'Android':
Classes += [
{
'cid': '{337f317f-f713-452a-962d-db831c785fec}',
'contract_ids': [
'@mozilla.org/login-manager/storage/geckoview;1',
'@mozilla.org/login-manager/storage/default;1',
],
'jsm': 'resource://gre/modules/storage-geckoview.js',
'constructor': 'LoginManagerStorage_geckoview',
},
]
else:
Classes += [
{
'cid': '{c00c432d-a0c9-46d7-bef6-9c45b4d07341}',
'contract_ids': [
'@mozilla.org/login-manager/storage/json;1',
'@mozilla.org/login-manager/storage/default;1',
],
'jsm': 'resource://gre/modules/storage-json.js',
'constructor': 'LoginManagerStorage_json',
},
{
'cid': '{c47ff942-9678-44a5-bc9b-05e0d676c79c}',
'contract_ids': ['@mozilla.org/login-manager/prompter;1'],
'jsm': 'resource://gre/modules/LoginManagerPrompter.jsm',
'constructor': 'LoginManagerPrompter',
},
{
'cid': '{dc185a77-ba88-4caa-8f16-465253f7599a}',
'contract_ids': [
'@mozilla.org/autocomplete/search;1?name=login-doorhanger-username',
'@mozilla.org/autocomplete/search;1?name=login-doorhanger-password'
],
'jsm': 'resource://gre/modules/AutoCompleteSimpleSearch.jsm',
'constructor': 'AutoCompleteSimpleSearch',
},
]
|