components.conf (1445B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 Classes = [ 8 { 9 'cid': '{91455c77-64a1-4c37-be00-f94eb9c7b8e1}', 10 'contract_ids': [ 11 '@mozilla.org/uriloader/external-helper-app-service;1', 12 ], 13 'type': 'GeckoViewExternalAppService', 14 'constructor': 'GeckoViewExternalAppService::GetSingleton', 15 'headers': ['GeckoViewExternalAppService.h'], 16 'processes': ProcessSelector.ALLOW_IN_SOCKET_PROCESS, 17 }, 18 { 19 'cid': '{a8f4582e-4b47-4e06-970d-b94b76977bf7}', 20 'contract_ids': ['@mozilla.org/network/protocol;1?name=content'], 21 'type': 'GeckoViewContentProtocolHandler', 22 'headers': ['./GeckoViewContentProtocolHandler.h'], 23 'protocol_config': { 24 'scheme': 'content', 25 'flags': [ 26 'URI_IS_POTENTIALLY_TRUSTWORTHY', 27 'URI_IS_LOCAL_RESOURCE', 28 'URI_DANGEROUS_TO_LOAD', 29 ], 30 }, 31 }, 32 { 33 'cid': '{8be7ba2b-376d-4fad-bcf2-4fa1de37f03b}', 34 'contract_ids': ['@mozilla.org/network/android-content-input-stream;1'], 35 'headers': ['GeckoViewInputStream.h'], 36 'type': 'GeckoViewInputStream', 37 }, 38 ]