• Hugo Benichi's avatar
    arc: net: populate new fields in NetworkConfiguration · 740b177c
    Hugo Benichi authored
    This patch populates new fields relative to the host IP configuration
    added in Change-Id I08dfd5daa9ba2946a847e555bb94a01da3866eb9 to
    NetworkConfiguration mojo objects.
    
    Currently, layer 3 information can come from shill Device properties
    (kIPConfigsProperty) or from shill Service properties
    (kIPConfigProperty, kSavedIPConfigProperty, kStaticIPConfigProperty).
    
    This patch changes the order in which this properties are tried to
    prioritize Device properties.
    
    BUG=b:143258259
    BUG=b:145960788
    BUG=crbug:795603
    TEST=Compiled, flashed eve, checked that ARC++ sees the host IPv4 and
    IPv6 configuration, mtu, and search domains for following networks: eth,
    wifi, L2TP vpn connections, Chrome extension VPN connections.
    
    Change-Id: I6d5e6b6eed477b0aef762d2b18b8ef2ce9fa2ff9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1962129
    Commit-Queue: Hugo Benichi <hugobenichi@google.com>
    Reviewed-by: default avatarYusuke Sato <yusukes@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#774528}
    740b177c
arc_net_host_impl.cc 35.8 KB