libchromeos: Added GetMapKeysAsVector() and unit tests

Added chromeos::GetMapKeysAsVector() helper function to obtain
the map as a vector<> instead of a set<>. Also added unit tests
for the map_utils.

BUG=None
TEST=FEATURES=test emerge-link libchromeos buffet

Change-Id: I689a3b0e2c2ddcb532101a5d0750aa789eb2bbda
Reviewed-on: https://chromium-review.googlesource.com/235714
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
1 file changed
tree: 3826416e27559235eeb7a6539212b310b84b2513
  1. buffet/