diff options
author | Eric Caruso <ejcaruso@chromium.org> | 2018-01-23 16:04:06 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-24 20:24:47 -0800 |
commit | c0cfb7da9f6af58f3db4ce6100e05d6249c7a618 (patch) | |
tree | ca04be039a564b614a3a0218fc48ecc203992caa /scripts/update_payload/format_utils_unittest.py | |
parent | 4495bfeb17c1e821ae4e72137bc100d3bcac29d9 (diff) |
update_engine: remove redundant utils functions
utils::MapContainsKey and utils::SetContainsKey are the same
function and could be unified with more general templating, but
that would just be a reimplementation of base::ContainsKey so we
can just use that instead. Additionally, base::ContainsValue can
be used in place of utils::VectorContainsValue.
BUG=None
TEST=unit tests
Change-Id: Ia8fee68ca8d6a87d232f89380c1e4144b598fad9
Reviewed-on: https://chromium-review.googlesource.com/882455
Commit-Ready: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Alex Deymo <deymo@google.com>
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions