Commit c0cfb7da authored by Eric Caruso's avatar Eric Caruso Committed by chrome-bot
Browse files

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: default avatarEric Caruso <ejcaruso@chromium.org>
Reviewed-by: default avatarAmin Hassani <ahassani@chromium.org>
Reviewed-by: default avatarAlex Deymo <deymo@google.com>
parent 4495bfeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment