Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #15366: Add recently closed tabs metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarare committed Dec 10, 2020
1 parent b76bebb commit dcb32c6
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,9 @@ private val Event.wrapper: EventWrapper<*>?
{ ProgressiveWebApp.backgroundKeys.valueOf(it) }
)

Event.RecentlyClosedTabsOpened -> EventWrapper<NoExtraKeys>(
{ Metrics.recentlyClosedTabsCount.add(1) }
).also {
Metrics.accessedRecentlyClosedTabs.set(true)
}
is Event.RecentlyClosedTabsOpened -> EventWrapper<NoExtraKeys>(
{ Events.recentlyClosedTabsOpened.record(it)}
)

Event.MasterPasswordMigrationDisplayed -> EventWrapper<NoExtraKeys>(
{ MasterPassword.displayed.record(it) }
Expand Down

0 comments on commit dcb32c6

Please sign in to comment.