Eliminate NetworkState dependency from network_icon.cc
NetowrkState usage has been mostly removed from non test consumers of network_icon.cc. This removes the single remaining usage in GetSignalStrengthForNetwork, updates the tests and removes the NetworkState dependency entirely. This also includes a bit of cleanup to cros_network_config.cc to separate NetworkStateHandler dependencies from NetworkState/DeviceState dependencies in the file local helper functions. (These were temporarily used in the tests but that was reverted, but the cleanup still seems useful). Bug: 862420 Change-Id: I566505e5a4f22538d8a862eeb5fcfc9f3c3ffd79 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600306 Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#659750}
Showing
This diff is collapsed.
Please register or sign in to comment