Bug 1118863 - Add telemetry to know whether password saving is disabled globally.r=MattN

This commit is contained in:
Allison Naaktgeboren 2015-01-22 15:23:28 -08:00
parent 12eb523280
commit cb7021e636
2 changed files with 9 additions and 0 deletions

View File

@ -212,6 +212,10 @@ LoginManager.prototype = {
let numPasswordsHist = Services.telemetry.getHistogramById("PWMGR_NUM_SAVED_PASSWORDS");
numPasswordsHist.clear();
numPasswordsHist.add(this.countLogins("", "", ""));
let isPwdSavedEnabledHist = Services.telemetry.getHistogramById("PWMGR_SAVING_ENABLED");
isPwdSavedEnabledHist.clear();
isPwdSavedEnabledHist.add(this._remember);
},

View File

@ -7163,6 +7163,11 @@
"extended_statistics_ok": true,
"description": "The number of saved signons in storage"
},
"PWMGR_SAVING_ENABLED": {
"expires_in_version": "never",
"kind": "boolean",
"description": "Number of users who have password saving on globally"
},
"FENNEC_SYNC11_MIGRATION_SENTINELS_SEEN": {
"expires_in_version": "45",
"kind": "count",