Bug 1918702 - Migrate telemetry events to use Glean APIs for browser.migration, r=chutten,migration-reviewers,mconley.
Differential Revision: https://phabricator.services.mozilla.com/D222504
This commit is contained in:
@@ -191,14 +191,8 @@ export class MigrationWizardParent extends JSWindowActorParent {
|
||||
* @param {object} args
|
||||
* The data to pass to telemetry when the event is recorded.
|
||||
*/
|
||||
#recordEvent(type, args = null) {
|
||||
Services.telemetry.recordEvent(
|
||||
"browser.migration",
|
||||
type,
|
||||
"wizard",
|
||||
null,
|
||||
args
|
||||
);
|
||||
#recordEvent(type, args) {
|
||||
Glean.browserMigration[type + "Wizard"].record(args);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user