Bug 1672577 - Removed expired probe NUMBER_OF_PROFILES, r=jaws,nalexander

Differential Revision: https://phabricator.services.mozilla.com/D116735
This commit is contained in:
Youhai Li 2021-06-21 14:53:09 +00:00
Родитель 04323f3755
Коммит e10e215fb2
4 изменённых файлов: 0 добавлений и 26 удалений

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

@ -88,7 +88,6 @@ const backgroundtaskPhases = {
"@mozilla.org/storage/service;1",
"@mozilla.org/thirdpartyutil;1",
"@mozilla.org/toolkit/app-startup;1",
"@mozilla.org/toolkit/profile-service;1",
"@mozilla.org/uuid-generator;1",
{
name: "@mozilla.org/widget/appshell/mac;1",

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

@ -14456,16 +14456,6 @@
"kind": "count",
"description": "Tracking the total number of opened Containers."
},
"NUMBER_OF_PROFILES": {
"record_in_processes": ["main", "content"],
"products": ["firefox", "fennec"],
"alert_emails": ["dtownsend@mozilla.com"],
"expires_in_version": "85",
"bug_numbers": [1296606, 1488881, 1490342, 1621948, 1649958],
"kind": "count",
"description": "Number of named browser profiles for the current user, as reported by the profile service at startup.",
"releaseChannelCollection": "opt-out"
},
"TIME_TO_FIRST_CLICK_MS": {
"record_in_processes": ["main", "content"],
"products": ["firefox", "fennec"],

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

@ -1156,7 +1156,6 @@
"MASTER_PASSWORD_ENABLED",
"MEDIA_CODEC_USED",
"NETWORK_CONNECTION_COUNT",
"NUMBER_OF_PROFILES",
"OPENGL_COMPOSITING_FAILURE_ID",
"PERMISSIONS_SQL_CORRUPTED",
"PRINT_COUNT",

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

@ -998,20 +998,6 @@ nsXREDirProvider::DoStartup() {
}
mozilla::Telemetry::Accumulate(mozilla::Telemetry::SAFE_MODE_USAGE, mode);
// Telemetry about number of profiles.
nsCOMPtr<nsIToolkitProfileService> profileService =
do_GetService("@mozilla.org/toolkit/profile-service;1");
if (profileService) {
uint32_t count = 0;
rv = profileService->GetProfileCount(&count);
if (NS_WARN_IF(NS_FAILED(rv))) {
return rv;
}
mozilla::Telemetry::Accumulate(mozilla::Telemetry::NUMBER_OF_PROFILES,
count);
}
obsSvc->NotifyObservers(nullptr, "profile-initial-state", nullptr);
#if defined(MOZ_SANDBOX)