| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // Next MinVersion: 5 | 5 // Next MinVersion: 5 |
| 6 | 6 |
| 7 module arc.mojom; | 7 module arc.mojom; |
| 8 | 8 |
| 9 [Extensible] | 9 [Extensible] |
| 10 enum BluetoothAdapterState { | 10 enum BluetoothAdapterState { |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 => (BluetoothGattStatus status); | 310 => (BluetoothGattStatus status); |
| 311 [MinVersion=3] StopService@34(int32 service_handle) | 311 [MinVersion=3] StopService@34(int32 service_handle) |
| 312 => (BluetoothGattStatus status); | 312 => (BluetoothGattStatus status); |
| 313 [MinVersion=3] DeleteService@35(int32 service_handle) | 313 [MinVersion=3] DeleteService@35(int32 service_handle) |
| 314 => (BluetoothGattStatus status); | 314 => (BluetoothGattStatus status); |
| 315 [MinVersion=3] SendIndication@36(int32 attribute_handle, | 315 [MinVersion=3] SendIndication@36(int32 attribute_handle, |
| 316 BluetoothAddress address, | 316 BluetoothAddress address, |
| 317 bool confirm, | 317 bool confirm, |
| 318 array<uint8> value) | 318 array<uint8> value) |
| 319 => (BluetoothGattStatus status); | 319 => (BluetoothGattStatus status); |
| 320 |
| 321 [MinVersion=2] OpenBluetoothSocket@29() |
| 322 => (handle sock); |
| 320 }; | 323 }; |
| 321 | 324 |
| 322 // Next Method ID: 17 | 325 // Next Method ID: 17 |
| 323 interface BluetoothInstance { | 326 interface BluetoothInstance { |
| 324 Init@0(BluetoothHost host_ptr); | 327 Init@0(BluetoothHost host_ptr); |
| 325 | 328 |
| 326 OnAdapterProperties@1(BluetoothStatus status, | 329 OnAdapterProperties@1(BluetoothStatus status, |
| 327 array<BluetoothProperty> properties); | 330 array<BluetoothProperty> properties); |
| 328 OnRemoteDeviceProperties@2(BluetoothStatus status, | 331 OnRemoteDeviceProperties@2(BluetoothStatus status, |
| 329 BluetoothAddress address, | 332 BluetoothAddress address, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 int32 attribute_handle, | 368 int32 attribute_handle, |
| 366 int32 offset, | 369 int32 offset, |
| 367 bool is_long) | 370 bool is_long) |
| 368 => (BluetoothGattStatus status, array<uint8> value); | 371 => (BluetoothGattStatus status, array<uint8> value); |
| 369 [MinVersion=3] RequestGattWrite@15(BluetoothAddress address, | 372 [MinVersion=3] RequestGattWrite@15(BluetoothAddress address, |
| 370 int32 attribute_handle, | 373 int32 attribute_handle, |
| 371 int32 offset, | 374 int32 offset, |
| 372 array<uint8> value) | 375 array<uint8> value) |
| 373 => (BluetoothGattStatus status); | 376 => (BluetoothGattStatus status); |
| 374 }; | 377 }; |
| OLD | NEW |