From https://chromium-review.googlesource.com/c/chromium/src/+/760242/1/components/drive/job_scheduler.cc#1150
Also, IsOffline() and GetConnectionType() being inconsistent with the connection type value here is surprising.
It'd be helpful if you could note this in the comment for NetworkChangeObserver, hopefully with diagrams which describe how the values returned by IsOffline(), GetConnectionType(), and NetworkChangeObserver will change in each step in various scenarios (e.g. the device being online/offline, the device switching from ethernet to wifi, the device switching from ethernet to wifi but suddenly being offline before being completely online, etc.).
Comment 1 by mmenke@chromium.org
, Nov 14 2017