[android-components](../../index.md) / [mozilla.components.feature.toolbar](../index.md) / [ToolbarAutocompleteFeature](index.md) / [addDomainProvider](./add-domain-provider.md)

# addDomainProvider

`fun addDomainProvider(provider: `[`DomainAutocompleteProvider`](../../mozilla.components.browser.domains.autocomplete/-domain-autocomplete-provider/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/toolbar/src/main/java/mozilla/components/feature/toolbar/ToolbarAutocompleteFeature.kt#L39)