Description[Sync] Clean up ModelType code.
Various cleanup of ModelType usage and implementation. When enumerating
the types in a hard coded manner, we should always strive to order the
code to reflect model_type.h's order. ModelTypeSet's methods are
slightly more inline-able. Updated ModelType histogram and static
asserts.
BUG=
Review-Url: https://codereview.chromium.org/2701003002
Cr-Commit-Position: refs/heads/master@{#453616}
Committed: https://chromium.googlesource.com/chromium/src/+/e8c91968e771bd1877d957db4d564728b31184d0
Patch Set 1 #Patch Set 2 : bd #Patch Set 3 : [Sync] Cleanup up ModelType code. #Patch Set 4 : Rebase #Patch Set 5 : Fixed two mistakes in PutRange. #Patch Set 6 : Now with EnumSet tests. #
Total comments: 10
Patch Set 7 : Updated for Pavel's comments. #Patch Set 8 : Switched int to size_t to fix compile. #
Messages
Total messages: 42 (33 generated)
|