toolkit/components/places/components.conf
author Noemi Erli <nerli@mozilla.com>
Fri, 15 Oct 2021 12:48:58 +0300
changeset 595983 bb0faec6af52a2dc2bd491df538b0194085e77be
parent 585247 dff4119d05a1ffb7c53487b8d494038d416d3134
permissions -rw-r--r--
Merge autoland to mozilla-central. a=merge

# -*- 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 = [
    {
        'name': 'History',
        'cid': '{0937a705-91a6-417a-8292-b22eb10da86c}',
        'contract_ids': ['@mozilla.org/browser/history;1'],
        'singleton': True,
        'type': 'mozilla::places::History',
        'headers': ['mozilla/places/History.h'],
        'constructor': 'mozilla::places::History::GetSingleton',
    },
    {
        'cid': '{e8b8bdb7-c96c-4d82-9c6f-2b3c585ec7ea}',
        'contract_ids': ['@mozilla.org/network/protocol;1?name=moz-anno'],
        'type': 'nsAnnoProtocolHandler',
        'headers': ['/toolkit/components/places/nsAnnoProtocolHandler.h'],
    },
    {
        'cid': '{984e3259-9266-49cf-b605-60b022a00756}',
        'contract_ids': ['@mozilla.org/browser/favicon-service;1'],
        'singleton': True,
        'type': 'nsFaviconService',
        'headers': ['/toolkit/components/places/nsFaviconService.h'],
        'constructor': 'nsFaviconService::GetSingleton',
    },
    {
        'cid': '{9de95a0c-39a4-4d64-9a53-17940dd7cabb}',
        'contract_ids': ['@mozilla.org/browser/nav-bookmarks-service;1'],
        'singleton': True,
        'type': 'nsNavBookmarks',
        'headers': ['/toolkit/components/places/nsNavBookmarks.h'],
        'constructor': 'nsNavBookmarks::GetSingleton',
    },
    {
        'cid': '{88cecbb7-6c63-4b3b-8cd4-84f3b8228c69}',
        'contract_ids': ['@mozilla.org/browser/nav-history-service;1'],
        'singleton': True,
        'type': 'nsNavHistory',
        'headers': ['/toolkit/components/places/nsNavHistory.h'],
        'constructor': 'nsNavHistory::GetSingleton',
        'categories': {'vacuum-participant': 'Places'},
    },

    {
        'cid': '{bbc23860-2553-479d-8b78-94d9038334f7}',
        'contract_ids': ['@mozilla.org/browser/tagging-service;1'],
        'jsm': 'resource://gre/modules/TaggingService.jsm',
        'constructor': 'TaggingService',
    },
    {
        'cid': '{1dcc23b0-d4cb-11dc-9ad6-479d56d89593}',
        'contract_ids': ['@mozilla.org/autocomplete/search;1?name=places-tag-autocomplete'],
        'jsm': 'resource://gre/modules/TaggingService.jsm',
        'constructor': 'TagAutoCompleteSearch',
    },

    {
        'cid': '{705a423f-2f69-42f3-b9fe-1517e0dee56f}',
        'contract_ids': ['@mozilla.org/places/expiration;1'],
        'jsm': 'resource://gre/modules/PlacesExpiration.jsm',
        'constructor': 'nsPlacesExpiration',
        'categories': {'places-init-complete': 'nsPlacesExpiration'},
    },

    {
        'cid': '{d38926e0-29c1-11eb-8588-0800200c9a66}',
        'contract_ids': ['@mozilla.org/places/databaseUtilsIdleMaintenance;1'],
        'jsm': 'resource://gre/modules/PlacesDBUtils.jsm',
        'constructor': 'PlacesDBUtilsIdleMaintenance',
        'categories': {'idle-daily': 'PlacesDBUtilsIdleMaintenance'},
    },

    {
        'cid': '{60a1f7c6-4ff9-4a42-84d3-5a185faa6f32}',
        'contract_ids': ['@mozilla.org/network/protocol;1?name=page-icon'],
        'type': 'mozilla::places::PageIconProtocolHandler',
        'headers': ['mozilla/places/PageIconProtocolHandler.h'],
        'constructor': 'mozilla::places::PageIconProtocolHandler::GetSingleton',
    },

    {
        'cid': '{7d47b41d-7cc5-4882-b293-d8f3f3b48b46}',
        'contract_ids': ['@mozilla.org/browser/synced-bookmarks-merger;1'],
        'type': 'mozISyncedBookmarksMerger',
        'headers': ['mozilla/places/SyncedBookmarksMirror.h'],
        'constructor': 'mozilla::places::NewSyncedBookmarksMerger',
    },
]