зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 95cf6de34f88 (bug 1672577) for Browser-chrome in toolkit/components/backgroundtasks/tests/browser/browser_xpcom_graph_wait.js. CLOSED TREE
This commit is contained in:
Родитель
03b1e6ddba
Коммит
4c4ab2ea93
|
@ -14408,6 +14408,16 @@
|
|||
"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,6 +1156,7 @@
|
|||
"MASTER_PASSWORD_ENABLED",
|
||||
"MEDIA_CODEC_USED",
|
||||
"NETWORK_CONNECTION_COUNT",
|
||||
"NUMBER_OF_PROFILES",
|
||||
"OPENGL_COMPOSITING_FAILURE_ID",
|
||||
"PERMISSIONS_SQL_CORRUPTED",
|
||||
"PRINT_COUNT",
|
||||
|
|
|
@ -998,6 +998,20 @@ 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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче