| 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 #ifndef COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ | 5 #ifndef COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ |
| 6 #define COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ | 6 #define COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties( | 325 mojo::Array<mojom::BluetoothPropertyPtr> GetDeviceProperties( |
| 326 mojom::BluetoothPropertyType type, | 326 mojom::BluetoothPropertyType type, |
| 327 device::BluetoothDevice* device) const; | 327 device::BluetoothDevice* device) const; |
| 328 mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties( | 328 mojo::Array<mojom::BluetoothPropertyPtr> GetAdapterProperties( |
| 329 mojom::BluetoothPropertyType type) const; | 329 mojom::BluetoothPropertyType type) const; |
| 330 mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData( | 330 mojo::Array<mojom::BluetoothAdvertisingDataPtr> GetAdvertisingData( |
| 331 device::BluetoothDevice* device) const; | 331 device::BluetoothDevice* device) const; |
| 332 | 332 |
| 333 void SendCachedDevicesFound() const; | 333 void SendCachedDevicesFound() const; |
| 334 bool HasBluetoothInstance() const; | 334 bool HasBluetoothInstance() const; |
| 335 bool CheckBluetoothInstanceVersion(uint32_t version_need) const; | |
| 336 | 335 |
| 337 device::BluetoothRemoteGattCharacteristic* FindGattCharacteristic( | 336 device::BluetoothRemoteGattCharacteristic* FindGattCharacteristic( |
| 338 mojom::BluetoothAddressPtr remote_addr, | 337 mojom::BluetoothAddressPtr remote_addr, |
| 339 mojom::BluetoothGattServiceIDPtr service_id, | 338 mojom::BluetoothGattServiceIDPtr service_id, |
| 340 mojom::BluetoothGattIDPtr char_id) const; | 339 mojom::BluetoothGattIDPtr char_id) const; |
| 341 | 340 |
| 342 device::BluetoothRemoteGattDescriptor* FindGattDescriptor( | 341 device::BluetoothRemoteGattDescriptor* FindGattDescriptor( |
| 343 mojom::BluetoothAddressPtr remote_addr, | 342 mojom::BluetoothAddressPtr remote_addr, |
| 344 mojom::BluetoothGattServiceIDPtr service_id, | 343 mojom::BluetoothGattServiceIDPtr service_id, |
| 345 mojom::BluetoothGattIDPtr char_id, | 344 mojom::BluetoothGattIDPtr char_id, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 | 414 |
| 416 // WeakPtrFactory to use for callbacks. | 415 // WeakPtrFactory to use for callbacks. |
| 417 base::WeakPtrFactory<ArcBluetoothBridge> weak_factory_; | 416 base::WeakPtrFactory<ArcBluetoothBridge> weak_factory_; |
| 418 | 417 |
| 419 DISALLOW_COPY_AND_ASSIGN(ArcBluetoothBridge); | 418 DISALLOW_COPY_AND_ASSIGN(ArcBluetoothBridge); |
| 420 }; | 419 }; |
| 421 | 420 |
| 422 } // namespace arc | 421 } // namespace arc |
| 423 | 422 |
| 424 #endif // COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ | 423 #endif // COMPONENTS_ARC_BLUETOOTH_ARC_BLUETOOTH_BRIDGE_H_ |
| OLD | NEW |