CrosNetworkConfig: Change VPN device state return conditions
Before this CL, a VPN device state was always being returned from CrosNetworkConfig::GetDeviceStateList even if no VPN services exist. The main reason behind that was to use this state to propagate the VPN disablement state to the UI code. This CL changes this behavior such that a VPN device state is returned if a VPN service exists or the VPN is prohibited by policy. Bug: 1156816 Change-Id: Ie5c894183d205a92a0bedb890bfcd69daeff3e7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615038Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Omar Morsi <omorsi@google.com> Cr-Commit-Position: refs/heads/master@{#841417}
Showing
Please register or sign in to comment