For #969: Finalizes collections telemetry (#4592)

nightly-build-test
Sawyer Blatz 5 years ago committed by GitHub
parent 320015abad
commit f9288c7fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save