Bug 1960560 - Part 2: Add steps for importing passwords manually from Chrome on Windows. r=migration-reviewers,fluent-reviewers,desktop-theme-reviewers,fxview-reviewers,omc-reviewers,Gijs,bolsson,pdahiya

Differential Revision: https://phabricator.services.mozilla.com/D246809
This commit is contained in:
Mike Conley
2025-05-09 17:27:48 +00:00
committed by mconley@mozilla.com
parent c60ed6a900
commit f62fb0b07c
20 changed files with 589 additions and 25 deletions

View File

@@ -862,6 +862,18 @@ class MigrationUtils {
}
}
/**
* Called by MigrationWizardParent during a migration to indicate that a
* manual migration of logins occurred via import from a CSV / TSV file, and
* should be counted towards the total number of imported logins.
*
* @param {number} totalLogins
* The number of logins imported manually from a CSV / TSV file.
*/
notifyLoginsManuallyImported(totalLogins) {
this._importQuantities.logins += totalLogins;
}
/**
* Iterates through the favicons, sniffs for a mime type,
* and uses the mime type to properly import the favicon.