summaryrefslogtreecommitdiffstats
path: root/toolkit/components/satchel/components.conf
blob: d5a670efd91c9fde0f35e567241693061a6867c9 (plain)
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
# -*- 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': '{895db6c7-dbdf-40ea-9f64-b175033243dc}',
        'contract_ids': [
            '@mozilla.org/satchel/form-fill-controller;1',
            '@mozilla.org/autocomplete/search;1?name=form-history',
        ],
        'type': 'nsFormFillController',
        'constructor': 'nsFormFillController::GetSingleton',
        'headers': ['/toolkit/components/satchel/nsFormFillController.h'],
        'categories': {'app-startup': 'FormFillController'},
    },

    {
        'cid': '{23530265-31d1-4ee9-864c-c081975fb7bc}',
        'contract_ids': ['@mozilla.org/satchel/form-history-autocomplete;1'],
        'esModule': 'resource://gre/modules/FormHistoryAutoComplete.sys.mjs',
        'constructor': 'FormHistoryAutoComplete',
    },
    {
        'cid': '{3a0012eb-007f-4bb8-aa81-a07385f77a25}',
        'contract_ids': ['@mozilla.org/satchel/form-history-startup;1'],
        'esModule': 'resource://gre/modules/FormHistoryStartup.sys.mjs',
        'constructor': 'FormHistoryStartup',
        'categories': {'profile-after-change': 'formHistoryStartup'},
    },
]