forked from mirrors/gecko-dev
And hook them up to the iOS build. Differential Revision: https://phabricator.services.mozilla.com/D204711
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
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': '{91455c77-64a1-4c37-be00-f94eb9c7b8e1}',
|
|
'contract_ids': [
|
|
'@mozilla.org/uriloader/external-helper-app-service;1',
|
|
],
|
|
'type': 'GeckoViewExternalAppService',
|
|
'constructor': 'GeckoViewExternalAppService::GetSingleton',
|
|
'headers': ['GeckoViewExternalAppService.h'],
|
|
'processes': ProcessSelector.ALLOW_IN_SOCKET_PROCESS,
|
|
},
|
|
{
|
|
'cid': '{a8f4582e-4b47-4e06-970d-b94b76977bf7}',
|
|
'contract_ids': ['@mozilla.org/network/protocol;1?name=content'],
|
|
'type': 'GeckoViewContentProtocolHandler',
|
|
'headers': ['./GeckoViewContentProtocolHandler.h'],
|
|
'protocol_config': {
|
|
'scheme': 'content',
|
|
'flags': [
|
|
'URI_IS_POTENTIALLY_TRUSTWORTHY',
|
|
'URI_IS_LOCAL_RESOURCE',
|
|
'URI_DANGEROUS_TO_LOAD',
|
|
],
|
|
},
|
|
},
|
|
]
|