summaryrefslogtreecommitdiff
path: root/common/subprocess_unittest.cc
diff options
context:
space:
mode:
authorColin Howes <chowes@google.com>2018-09-18 10:35:20 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-11-18 07:11:07 -0800
commitc9e98d6995bdd22de37f18e6b175775939d6159d (patch)
treeef2626eb7b1d9248c2c4c89ed846dbe29ed596f8 /common/subprocess_unittest.cc
parent8ba486f595ed0e5090a8392434903aa01095c556 (diff)
update_engine: Add disconnected network type for metrics reporting
On a failed update, correctly report that the network is disconnected rather than reporting an "unknown" network type, which is set when the connection type cannot be determined based on the properties of a given service path. BUG=chromium:660283 TEST=Added relevant unittests. Also tested manually by updating via cros flash, unplugging Ethernet after the transfer, and killing the dev_server. Metrics sends "disconnected" as expected. Change-Id: Ia681b769208b67fb5c14d41a646d816a42ccf33e Reviewed-on: https://chromium-review.googlesource.com/1231700 Commit-Ready: Colin Howes <chowes@google.com> Tested-by: Colin Howes <chowes@google.com> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'common/subprocess_unittest.cc')
0 files changed, 0 insertions, 0 deletions