gecko-dev/toolkit/components/passwordmgr/components.conf

70 строки
2.6 KiB
Python

# -*- 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': '{cb9e0de8-3598-4ed7-857b-827f011ad5d8}',
'contract_ids': ['@mozilla.org/login-manager;1'],
'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/LoginManagerPrompter.jsm',
'constructor': 'LoginManagerPromptFactory',
},
{
'cid': '{2bdac17c-53f1-4896-a521-682ccdeef3a8}',
'contract_ids': ['@mozilla.org/login-manager/autocompletesearch;1'],
'jsm': 'resource://gre/modules/LoginAutoCompleteResult.jsm',
'constructor': 'LoginAutoComplete',
},
{
'cid': '{8aa66d77-1bbb-45a6-991e-b8f47751c291}',
'contract_ids': ['@mozilla.org/login-manager/prompter;1'],
'jsm': 'resource://gre/modules/LoginManagerPrompter.jsm',
'constructor': 'LoginManagerPrompter',
},
{
'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': '{8c2023b9-175c-477e-9761-44ae7b549756}',
'contract_ids': [
'@mozilla.org/login-manager/storage/mozStorage;1',
'@mozilla.org/login-manager/storage/default;1',
],
'jsm': 'resource://gre/modules/storage-mozStorage.js',
'constructor': 'LoginManagerStorage_mozStorage',
},
]
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',
},
]