first show the progress // for a single PASSWORDS_FROM_FILE resource type, and then upon // completion, show two different resource types - one for new // passwords imported from the file, and one for existing passwords // that were updated from the file. PASSWORDS_FROM_FILE: "PASSWORDS_FROM_FILE", PASSWORDS_NEW: "PASSWORDS_NEW", PASSWORDS_UPDATED: "PASSWORDS_UPDATED", BOOKMARKS_FROM_FILE: "BOOKMARKS_FROM_FILE", }), /** * Returns a mapping of a resource type to a string used to identify * the associated resource group in the wizard via a data-resource-type * attribute. The keys are for resource types that are only ever shown * for profile resets. */ PROFILE_RESET_ONLY_RESOURCE_TYPES: Object.freeze({ COOKIES: "COOKIES", SESSION: "SESSION", OTHERDATA: "OTHERDATA", }), /** * The set of keys that maps to migrators that use the term "favorites" * in the place of "bookmarks". This tends to be browsers from Microsoft. */ USES_FAVORITES: Object.freeze([ "chromium-edge", "chromium-edge-beta", "edge", "ie", ]), /** * The values that are set on the extension extra key for the * migration_finished telemetry event. The definition of that event * defines it as: * * "3" if all extensions were matched after import. "2" if only some * extensions were matched. "1" if none were matched, and "0" if extensions * weren't selected for import. */ EXTENSIONS_IMPORT_RESULT: Object.freeze({ NOT_IMPORTED: "0", NONE_MATCHED: "1", PARTIAL_MATCH: "2", ALL_MATCHED: "3", }), }); PK