commit | 92d9c8bc5cd418e34944d6fc4bae44e3b4370246 | [log] [tgz] |
---|---|---|
author | David Zeuthen <zeuthen@chromium.org> | Wed Sep 11 10:58:11 2013 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Mon Sep 16 19:38:54 2013 +0000 |
tree | b6125115b2d9a5e34944cc5bcb4910c18fe7b8de | |
parent | 0f5135106b59d46f134a7149305f2b8228103cf9 [diff] |
Also use DevicePolicy::GetAuP2PEnabled() to determine if p2p is enabled With this change update_engine will use p2p either if the user has manually enabled it (through the crosh flag) OR if the enterprise has enabled it in Enterprise Policy. BUG=chromium:260442 TEST=New unit tests + unit tests pass. Change-Id: I54cd92c481bd2fd7c90232d7137ce2b37fa2ce61 Reviewed-on: https://chromium-review.googlesource.com/168950 Reviewed-by: Chris Sosa <sosa@chromium.org> Commit-Queue: David Zeuthen <zeuthen@chromium.org> Tested-by: David Zeuthen <zeuthen@chromium.org>