Skip to content

Commit e10e215

Browse files
committed
Bug 1672577 - Removed expired probe NUMBER_OF_PROFILES, r=jaws,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D116735
1 parent 04323f3 commit e10e215

File tree

4 files changed

+0
-26
lines changed

4 files changed

+0
-26
lines changed

toolkit/components/backgroundtasks/tests/browser/browser_xpcom_graph_wait.js

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ const backgroundtaskPhases = {
8888
"@mozilla.org/storage/service;1",
8989
"@mozilla.org/thirdpartyutil;1",
9090
"@mozilla.org/toolkit/app-startup;1",
91-
"@mozilla.org/toolkit/profile-service;1",
9291
"@mozilla.org/uuid-generator;1",
9392
{
9493
name: "@mozilla.org/widget/appshell/mac;1",

toolkit/components/telemetry/Histograms.json

-10
Original file line numberDiff line numberDiff line change
@@ -14456,16 +14456,6 @@
1445614456
"kind": "count",
1445714457
"description": "Tracking the total number of opened Containers."
1445814458
},
14459-
"NUMBER_OF_PROFILES": {
14460-
"record_in_processes": ["main", "content"],
14461-
"products": ["firefox", "fennec"],
14462-
"alert_emails": ["dtownsend@mozilla.com"],
14463-
"expires_in_version": "85",
14464-
"bug_numbers": [1296606, 1488881, 1490342, 1621948, 1649958],
14465-
"kind": "count",
14466-
"description": "Number of named browser profiles for the current user, as reported by the profile service at startup.",
14467-
"releaseChannelCollection": "opt-out"
14468-
},
1446914459
"TIME_TO_FIRST_CLICK_MS": {
1447014460
"record_in_processes": ["main", "content"],
1447114461
"products": ["firefox", "fennec"],

toolkit/components/telemetry/histogram-allowlists.json

-1
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,6 @@
11561156
"MASTER_PASSWORD_ENABLED",
11571157
"MEDIA_CODEC_USED",
11581158
"NETWORK_CONNECTION_COUNT",
1159-
"NUMBER_OF_PROFILES",
11601159
"OPENGL_COMPOSITING_FAILURE_ID",
11611160
"PERMISSIONS_SQL_CORRUPTED",
11621161
"PRINT_COUNT",

toolkit/xre/nsXREDirProvider.cpp

-14
Original file line numberDiff line numberDiff line change
@@ -998,20 +998,6 @@ nsXREDirProvider::DoStartup() {
998998
}
999999
mozilla::Telemetry::Accumulate(mozilla::Telemetry::SAFE_MODE_USAGE, mode);
10001000

1001-
// Telemetry about number of profiles.
1002-
nsCOMPtr<nsIToolkitProfileService> profileService =
1003-
do_GetService("@mozilla.org/toolkit/profile-service;1");
1004-
if (profileService) {
1005-
uint32_t count = 0;
1006-
rv = profileService->GetProfileCount(&count);
1007-
if (NS_WARN_IF(NS_FAILED(rv))) {
1008-
return rv;
1009-
}
1010-
1011-
mozilla::Telemetry::Accumulate(mozilla::Telemetry::NUMBER_OF_PROFILES,
1012-
count);
1013-
}
1014-
10151001
obsSvc->NotifyObservers(nullptr, "profile-initial-state", nullptr);
10161002

10171003
#if defined(MOZ_SANDBOX)

0 commit comments

Comments
 (0)