Open Bug 1804236 Opened 3 years ago

Add an optional parameter to `AddKeyLabelFormat` and `AddKeyFormat` and remove their Searchable versions

Categories

(Core :: Gecko Profiler, task, P3)

task

Tracking

()

People

(Reporter: canova, Unassigned)

Details

Currently we have AddKeyLabelFormat and AddKeyFormat for adding a new field to marker schema. But we also have AddKeyLabelFormatSearchable and AddKeyFormatSearchable versions when we need to make them searchable.
These later 2 methods make it harder to change any fields to searchable fields. We can instead change the former main 2 methods to accept an optional Searchable parameter and default it to false. This could make things cleaner.

You need to log in before you can comment on or make changes to this bug.