• Hugo Benichi's avatar
    arc: net: migrate NetworConfiguration out of ONC · 086767ed
    Hugo Benichi authored
    This patch partially migrates away from ONC for populating the
    following fields in arc::mojom::NetworkConfiguration:
     - guid
     - connection state
     - tethering state
     - network type
    The equivalent shill properties directly cached in NetworkState are used
    in state.
    
    Migrating away from ONC and basing arc::mojom::NetworkConfiguration
    creation directly on shill properties will facilitate the migration of
    net.mojom outside of Chrome and into platform2/patchpanel.
    
    BUG=b:145960788
    TEST=Flashed Chrome, tested various connectivity setup in ARC, tested
    scanning Apps.
    
    Change-Id: I3c4d821cb1064638deac2a65d6ba372ace1b836b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210298
    Commit-Queue: Hugo Benichi <hugobenichi@google.com>
    Reviewed-by: default avatarYusuke Sato <yusukes@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#772587}
    086767ed
arc_net_host_impl.cc 35.4 KB