Commit 45effdcf authored by Steven Bennetts's avatar Steven Bennetts Committed by Chromium LUCI CQ

network_types.mojom: Provide additional comments.

Bug: none
Change-Id: Ibfa838ae47f5004566deb0d0ef9973531ce0f340
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2597781
Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarAzeem Arshad <azeemarshad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#840668}
parent d0d95f03
...@@ -8,20 +8,35 @@ module chromeos.network_config.mojom; ...@@ -8,20 +8,35 @@ module chromeos.network_config.mojom;
// Connection state of visible networks. // Connection state of visible networks.
enum ConnectionStateType { enum ConnectionStateType {
// The network is connected and internet connectivity is available.
kOnline, kOnline,
// The network is connected and not in a detected portal state, but
// internet connectivity may not be available.
kConnected, kConnected,
// The network is connected but a portal state was detected. Internet
// connectivity may be limited. Additional details are in PortalState.
kPortal, kPortal,
// The network is in the process of connecting.
kConnecting, kConnecting,
// The network is not connected.
kNotConnected, kNotConnected,
}; };
// Device / Technology state for devices. // Device / Technology state for devices.
enum DeviceStateType { enum DeviceStateType {
// The device is available but not yet initialized and can not be enabled.
kUninitialized, kUninitialized,
// The device is initialized but disabled.
kDisabled, kDisabled,
// The device is in the process of disabling. Enable calls may fail until
// disabling has completed.
kDisabling, kDisabling,
// The device is in the process of enabling. Disable calls may fail until
// enabling has completed.
kEnabling, kEnabling,
// The device is enabled. Networks can be configured and connected.
kEnabled, kEnabled,
// The device is disabled and enabling the device is prohibited by policy.
kProhibited, kProhibited,
// Cellular devices may have Inhibited set, preventing active scans. // Cellular devices may have Inhibited set, preventing active scans.
kInhibited, kInhibited,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment