1
0
Fork 0

Pass lazy references to FennecMigrator

master
Grisha Kruglov 2020-03-25 17:36:03 -07:00 committed by Grisha Kruglov
parent 0f0d56e60a
commit 20f8b97dcb
1 changed files with 4 additions and 4 deletions

View File

@ -23,13 +23,13 @@ class MigratingFenixApplication : FenixApplication() {
val migrator by lazy {
FennecMigrator.Builder(this, this.components.analytics.crashReporter)
.migrateOpenTabs(this.components.core.sessionManager)
.migrateHistory(this.components.core.historyStorage)
.migrateHistory(this.components.core.lazyHistoryStorage)
.migrateBookmarks(
this.components.core.bookmarksStorage,
this.components.core.lazyBookmarksStorage,
this.components.core.topSiteStorage.storage
)
.migrateLogins(this.components.core.passwordsStorage)
.migrateFxa(this.components.backgroundServices.accountManager)
.migrateLogins(this.components.core.lazyPasswordsStorage)
.migrateFxa(lazy { this.components.backgroundServices.accountManager })
.migrateAddons(
this.components.core.engine,
this.components.addonCollectionProvider,