# -*- 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': '{4c733bd7-0bea-435a-ae1e-e65f3269d519}',
        'contract_ids': ['@mozilla.org/network/protocol;1?name=moz-remote-image'],
        'singleton': True,
        'type': 'mozilla::image::RemoteImageProtocolHandler',
        'headers': ['mozilla/image/RemoteImageProtocolHandler.h'],
        'constructor': 'mozilla::image::RemoteImageProtocolHandler::GetSingleton',
        'protocol_config': {
            'scheme': 'moz-remote-image',
            'flags': [
                'URI_NORELATIVE',
                'URI_NOAUTH',
                'URI_DANGEROUS_TO_LOAD',
            ],
        },
    },
]
