| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module arc; | 5 module arc.mojom; |
| 6 | 6 |
| 7 [Extensible] | 7 [Extensible] |
| 8 enum NetworkResult { | 8 enum NetworkResult { |
| 9 SUCCESS = 0, | 9 SUCCESS = 0, |
| 10 FAILURE = 1, | 10 FAILURE = 1, |
| 11 }; | 11 }; |
| 12 | 12 |
| 13 [Extensible] | 13 [Extensible] |
| 14 enum GetNetworksRequestType { | 14 enum GetNetworksRequestType { |
| 15 CONFIGURED_ONLY = 0, | 15 CONFIGURED_ONLY = 0, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 [MinVersion=3] SetWifiEnabledState@4(bool is_enabled) => (bool result); | 55 [MinVersion=3] SetWifiEnabledState@4(bool is_enabled) => (bool result); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 interface NetInstance { | 58 interface NetInstance { |
| 59 // Establishes full-duplex communication with the host. | 59 // Establishes full-duplex communication with the host. |
| 60 Init@0(NetHost host_ptr); | 60 Init@0(NetHost host_ptr); |
| 61 | 61 |
| 62 // Notifies the instance of a WiFI AP scan being completed. | 62 // Notifies the instance of a WiFI AP scan being completed. |
| 63 [MinVersion=1] ScanCompleted@1(); | 63 [MinVersion=1] ScanCompleted@1(); |
| 64 }; | 64 }; |
| OLD | NEW |