Revision control
Copy as Markdown
/* 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
package org.mozilla.reference.browser.customtabs
import mozilla.components.concept.engine.Engine
import mozilla.components.feature.customtabs.AbstractCustomTabsService
import mozilla.components.feature.customtabs.store.CustomTabsServiceStore
import org.mozilla.reference.browser.ext.components
/**
* Service that apps using the Custom Tabs protocol bind to, so they can warm up the engine and hint likely URLs before
* opening a custom tab here.
*/
class CustomTabsService : AbstractCustomTabsService() {
override val customTabsServiceStore: CustomTabsServiceStore by lazy { components.core.customTabsStore }
override val engine: Engine by lazy { components.core.engine }
}