| Index: components/arc/common/net.mojom
|
| diff --git a/components/arc/common/net.mojom b/components/arc/common/net.mojom
|
| index b35ad7a33eb712a3773a856d03f15d37395ba00e..dde940d693fe0fc83246583c1ff0c355282de16e 100644
|
| --- a/components/arc/common/net.mojom
|
| +++ b/components/arc/common/net.mojom
|
| @@ -10,6 +10,12 @@ enum NetworkResult {
|
| FAILURE = 1,
|
| };
|
|
|
| +[Extensible]
|
| +enum GetNetworksRequestType {
|
| + CONFIGURED_ONLY = 0,
|
| + VISIBLE_ONLY = 1,
|
| +};
|
| +
|
| struct WifiConfiguration {
|
| // These correspond to ONC properties returned by
|
| // chrome.networkingPrivate.getNetworks().
|
| @@ -29,13 +35,17 @@ struct NetworkData {
|
| interface NetHost {
|
| // Sends a request to get configured or visible WiFi networks based on the
|
| // |configured_only| and |visible_only| flags.
|
| - GetNetworks@0(bool configured_only, bool visible_only) => (NetworkData data);
|
| + GetNetworksDeprecated@0(bool configured_only, bool visible_only) => (NetworkData data);
|
|
|
| // Sends a request to get enabled / disabled status of WiFi.
|
| GetWifiEnabledState@1() => (bool is_enabled);
|
|
|
| // Sends a request to start scan of WiFi APs.
|
| [MinVersion=1] StartScan@2();
|
| +
|
| + // Sends a request to get configured or visible WiFi networks based on the
|
| + // request type.
|
| + [MinVersion=2] GetNetworks@3(GetNetworksRequestType type) => (NetworkData data);
|
| };
|
|
|
| interface NetInstance {
|
|
|