Bug 1936036 - Replace flag histogram MASTER_PASSWORD_ENABLED r=mtigley,firefox-desktop-core-reviewers ,mossop

Differential Revision: https://phabricator.services.mozilla.com/D231559
This commit is contained in:
Chris H-C
2024-12-10 20:02:52 +00:00
parent 34648bfaf5
commit 4eb6d15f40
5 changed files with 35 additions and 17 deletions

View File

@@ -3262,12 +3262,7 @@ BrowserGlue.prototype = {
Ci.nsIPK11TokenDB
);
let token = tokenDB.getInternalKeyToken();
let mpEnabled = token.hasPassword;
if (mpEnabled) {
Services.telemetry
.getHistogramById("MASTER_PASSWORD_ENABLED")
.add(mpEnabled);
}
Glean.primaryPassword.enabled.set(token.hasPassword);
},
function GMPInstallManagerSimpleCheckAndInstall() {