Introduce a new enum ModelTypeForHistograms
This is a variant of ModelType that fulfills the requirements for recording in histograms (i.e. no reordering/renumbering). It's a type-safe replacement for the current system based on ints. The actual values stay identical to the current ints, so the histograms themselves won't be affected. A follow-up CL will update all histogram recording sites to use the new enum. Bug: 1007293 Change-Id: I3e36c97303ba08e34baccffafbab8b55d8b9288b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1821787Reviewed-by:Jan Krcal <jkrcal@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#699663}
Showing
This diff is collapsed.
Please register or sign in to comment