gecko-dev/netwerk/url-classifier/components.conf

23 строки
952 B
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': '{7a6da992-dbce-4943-b463-5a2dd011fa1a}',
'contract_ids': ['@mozilla.org/url-classifier/channel-classifier-service;1'],
'singleton': True,
'type': 'nsIChannelClassifierService',
'constructor': 'mozilla::net::ChannelClassifierService::GetSingleton',
'headers': ['mozilla/net/ChannelClassifierService.h'],
},
{
'cid': '{b9f4fd03-9d87-4bfd-9958-85a821750ddc}',
'contract_ids': ['@mozilla.org/url-classifier/skip-list-service;1'],
'jsm': 'resource://gre/modules/UrlClassifierSkipListService.jsm',
'constructor': 'UrlClassifierSkipListService',
},
]