Retry cros-termina component load if we suspect we've gone offline.

Since NetworkConnectionTracker::IsOffline can return false without us actually
being on the Internet, we our load of cros-termina with policy kForce may fail
due to the attempt to contact ComponentUpdaterService. In this case, we fail
back to policy kDontForce which will load the existing component from disk.

Bug: 943169
Change-Id: I79d48f7c9b763e27f5ff7feffb76e337b30e3b4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584529
Commit-Queue: Nicholas Verne <nverne@chromium.org>
Reviewed-by: Fergus Dall <sidereal@google.com>
Cr-Commit-Position: refs/heads/master@{#654344}
1 file changed