Turn ThreadPriority enum into an enum class.
Adding some type safety as it is often used in close
proximity with OS-level raw integer priorities.
Also fixing nomenclature to use CHROMIUM_STYLE_ENUM_NAMES
rather than kGoogleStyleEnumNames:
https://www.chromium.org/developers/coding-style#Naming
And lastly, sorting the declaration order by importance.
TBR=jam
BUG=456903
Review URL: https://codereview.chromium.org/1051863003
Cr-Commit-Position: refs/heads/master@{#323359}
CrOS-Libchrome-Original-Commit: 9a47073b992032eccd980693076a2dfb5dab429d
6 files changed