App list search results mixer: groups vector is now a map.
commit71c2f1cac102f44d35942b476411ce1ea723b6a4
authormgiuca <mgiuca@chromium.org>
Mon, 17 Nov 2014 07:25:04 +0000 (16 23:25 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 17 Nov 2014 07:25:19 +0000 (17 07:25 +0000)
tree1763c51220a398dbbd97149cd344e14677a0b812
parente1cecacf485e23a7ecccaef1f0f1474107104290
App list search results mixer: groups vector is now a map.

Previously, it was a vector whose indices corresponded to the enum
values, which is brittle because it relies upon the groups being
inserted into the vector in the enum order. Now it is a map from enum
values to groups, so is not dependent upon the insertion order.

BUG=432763

Review URL: https://codereview.chromium.org/725493002

Cr-Commit-Position: refs/heads/master@{#304389}
ui/app_list/search/mixer.cc
ui/app_list/search/mixer.h