[android-components](../../index.md) / [mozilla.components.feature.toolbar](../index.md) / [ToolbarAutocompleteFeature](index.md) / [addHistoryStorageProvider](./add-history-storage-provider.md)

# addHistoryStorageProvider

`fun addHistoryStorageProvider(provider: `[`HistoryStorage`](../../mozilla.components.concept.storage/-history-storage/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#L37)