Bug 1360810 - Add telemetry for session restore privacy levels chosen by users r=mikedeboer data-r=bsmedberg

This commit is contained in:
Tim Taubert 2017-05-02 11:10:41 +02:00
Родитель 6856c5d93e
Коммит ed341f2836
2 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -615,6 +615,9 @@ var SessionStoreInternal = {
this._initPrefs();
this._initialized = true;
Telemetry.getHistogramById("FX_SESSION_RESTORE_PRIVACY_LEVEL").add(
Services.prefs.getIntPref("browser.sessionstore.privacy_level"));
},
/**

Просмотреть файл

@ -5656,6 +5656,14 @@
"n_buckets": 10,
"description": "Session restore: Duration of the longest uninterruptible operation while collecting data in the content process (ms)"
},
"FX_SESSION_RESTORE_PRIVACY_LEVEL": {
"alert_emails": ["session-restore-telemetry-alerts@mozilla.com"],
"expires_in_version": "60",
"kind": "enumerated",
"n_values": 3,
"bug_numbers": [1360810],
"description": "Session restore: The privacy level chosen by the user (0: Collect data from all sites, 1: Collect data only from non-HTTPS sites, 2: Collect no data)"
},
"FX_SESSION_RESTORE_SERIALIZE_DATA_MS": {
"alert_emails": ["session-restore-telemetry-alerts@mozilla.com"],
"expires_in_version": "never",