commit | dacf10284efc88874a0f3fd597c9cb9f00222d92 | [log] [tgz] |
---|---|---|
author | Steven Bennetts <stevenjb@chromium.org> | Wed Feb 06 00:26:44 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 06 00:26:44 2019 |
tree | 7fc7d00b8881785ad1470c7a59987c1a1e35cd14 | |
parent | ca211d251a5925b178c4e3ebdc883d7ee91fa9bd [diff] |
Add NetworkState::IsActive() Frequently in the UI, we care about "active" networks. Mostly this just includes networks that are connecting or connected, but we also care about cellular networks that are activating, and may want to expand this further in the future. This CL introduces a new IsActive() method for NetworkState, and uses it to more accurately update the network lists provided to the UI. Expected changes to the UI: None in the current UI, but activating Cellular networks will be included in the active list, even if not connected (this is an edge case that probably does not exist in practice). Bug: 862420 Change-Id: I470df5abeef2e96ce2d4cc9a82d0efc78aa862b5 Reviewed-on: https://chromium-review.googlesource.com/c/1448736 Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#629380}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .