Commit c9e98d69 authored by Colin Howes's avatar Colin Howes Committed by chrome-bot
Browse files

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: default avatarColin Howes <chowes@google.com>
Reviewed-by: default avatarAmin Hassani <ahassani@chromium.org>
parent 8ba486f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment