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

Commit

Permalink
For #969: Finalizes collections telemetry (#4592)
Browse files Browse the repository at this point in the history
  • Loading branch information
sblatz authored Aug 7, 2019
1 parent 320015a commit f9288c7
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,14 @@ private val Event.wrapper
is Event.CollectionAddTabPressed -> EventWrapper<NoExtraKeys>(
{ Collections.addTabButton.record(it) }
)
is Event.CollectionSaved -> EventWrapper(
{ Collections.saved.record(it) },
{ Collections.savedKeys.valueOf(it) }
)
is Event.CollectionTabsAdded -> EventWrapper(
{ Collections.tabsAdded.record(it) },
{ Collections.tabsAddedKeys.valueOf(it) }
)

// Don't track other events with Glean
else -> null
Expand Down

0 comments on commit f9288c7

Please sign in to comment.