diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2022-05-08 16:42:41 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2022-05-08 16:42:41 -0400 |
commit | 34964f0ea6b83234e47396441ca3b8334dbf0daa (patch) | |
tree | 570f0d78d7c2c8b38343a21cfb2e9e3d351f34e5 /components/migration/MigrationUtils.jsm | |
parent | 0e6fd39de109fa1020848fecddb5821501661ca7 (diff) | |
download | iceweasel-uxp-34964f0ea6b83234e47396441ca3b8334dbf0daa.tar.gz |
Remove telemetry more telemetry references
Diffstat (limited to 'components/migration/MigrationUtils.jsm')
-rw-r--r-- | components/migration/MigrationUtils.jsm | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/components/migration/MigrationUtils.jsm b/components/migration/MigrationUtils.jsm index 752e752..e40b437 100644 --- a/components/migration/MigrationUtils.jsm +++ b/components/migration/MigrationUtils.jsm @@ -265,27 +265,6 @@ this.MigratorPrototype = { let maybeFinishResponsivenessMonitor = (responsivenessMonitor, histogramId) => { if (responsivenessMonitor) { let accumulatedDelay = responsivenessMonitor.finish(); - if (histogramId) { - try { - Services.telemetry.getKeyedHistogramById(histogramId) - .add(browserKey, accumulatedDelay); - } catch (ex) { - Cu.reportError(histogramId + ": " + ex); - } - } - } - }; - - let collectQuantityTelemetry = () => { - for (let resourceType of Object.keys(MigrationUtils._importQuantities)) { - let histogramId = - "FX_MIGRATION_" + resourceType.toUpperCase() + "_QUANTITY"; - try { - Services.telemetry.getKeyedHistogramById(histogramId) - .add(browserKey, MigrationUtils._importQuantities[resourceType]); - } catch (ex) { - Cu.reportError(histogramId + ": " + ex); - } } }; @@ -331,7 +310,6 @@ this.MigratorPrototype = { maybeFinishResponsivenessMonitor(responsivenessMonitor, responsivenessHistogramId); if (resourcesGroupedByItems.size == 0) { - collectQuantityTelemetry(); notify("Migration:Ended"); } } @@ -803,7 +781,6 @@ this.MigrationUtils = Object.freeze({ * - {String} an identifier for the profile to use when migrating * NB: If you add new consumers, please add a migration entry point * constant below, and specify at least the first element of the array - * (the migration entry point for purposes of telemetry). */ showMigrationWizard: function MU_showMigrationWizard(aOpener, aParams) { @@ -1096,7 +1073,4 @@ this.MigrationUtils = Object.freeze({ "safari": 8, "360se": 9, }, - getSourceIdForTelemetry(sourceName) { - return this._sourceNameToIdMapping[sourceName] || 0; - }, }); |