1
0
Fork 0

For #969: Finalizes collections telemetry (#4592)

master
Sawyer Blatz 2019-08-07 10:26:52 -07:00 committed by GitHub
parent 320015abad
commit f9288c7fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

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