# -*- 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/autocomplete/search;1?name=form-history',
            '@mozilla.org/satchel/form-fill-controller;1',
        ],
        'type': 'nsFormFillController',
        'headers': ['/toolkit/components/satchel/nsFormFillController.h'],
    },

    {
        'cid': '{c11c21b2-71c9-4f87-a0f8-5e13f50495fd}',
        'contract_ids': ['@mozilla.org/satchel/form-autocomplete;1'],
        'jsm': 'resource://gre/modules/FormAutoComplete.jsm',
        'constructor': 'FormAutoComplete',
    },
    {
        'cid': '{bf1e01d0-953e-11df-981c-0800200c9a66}',
        'contract_ids': ['@mozilla.org/satchel/inputlist-autocomplete;1'],
        'jsm': 'resource://gre/modules/InputListAutoComplete.jsm',
        'constructor': 'InputListAutoComplete',
    },
    {
        'cid': '{3a0012eb-007f-4bb8-aa81-a07385f77a25}',
        'contract_ids': ['@mozilla.org/satchel/form-history-startup;1'],
        'jsm': 'resource://gre/modules/FormHistoryStartup.jsm',
        'constructor': 'FormHistoryStartup',
        'categories': {'profile-after-change': 'formHistoryStartup'},
    },
]
