summaryrefslogtreecommitdiff
path: root/scripts/update_payload/payload.py
diff options
context:
space:
mode:
authorEric Caruso <ejcaruso@chromium.org>2018-01-23 16:04:06 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-24 20:24:47 -0800
commitc0cfb7da9f6af58f3db4ce6100e05d6249c7a618 (patch)
treeca04be039a564b614a3a0218fc48ecc203992caa /scripts/update_payload/payload.py
parent4495bfeb17c1e821ae4e72137bc100d3bcac29d9 (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/payload.py')
0 files changed, 0 insertions, 0 deletions