| Index: components/arc/bluetooth/arc_bluetooth_bridge.h
|
| diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.h b/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| index fd98791b1995e9c1c65c4eb937b3297d873d626f..843935c61fb366e5f3e172aab8f8e97f79aa316a 100644
|
| --- a/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| +++ b/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| @@ -268,6 +268,14 @@ class ArcBluetoothBridge
|
| mojo::Array<uint8_t> value,
|
| const SendIndicationCallback& callback) override;
|
|
|
| + // Bluetooth Mojo host interface - Bluetooth SDP functions
|
| + void GetSdpRecords(mojom::BluetoothAddressPtr remote_addr,
|
| + mojom::BluetoothUUIDPtr target_uuid) override;
|
| + void CreateSdpRecord(mojom::BluetoothSdpRecordPtr record_mojo,
|
| + const CreateSdpRecordCallback& callback) override;
|
| + void RemoveSdpRecord(uint32_t service_handle,
|
| + const RemoveSdpRecordCallback& callback) override;
|
| +
|
| // Chrome observer callbacks
|
| void OnPoweredOn(
|
| const base::Callback<void(mojom::BluetoothAdapterState)>& callback) const;
|
| @@ -365,6 +373,15 @@ class ArcBluetoothBridge
|
| void OnSetDiscoverable(bool discoverable, bool success, uint32_t timeout);
|
| void SetDiscoverable(bool discoverable, uint32_t timeout);
|
|
|
| + void OnGetServiceRecordsDone(
|
| + mojom::BluetoothAddressPtr remote_addr,
|
| + mojom::BluetoothUUIDPtr target_uuid,
|
| + const std::vector<bluez::BluetoothServiceRecordBlueZ>& records_bluez);
|
| + void OnGetServiceRecordsError(
|
| + mojom::BluetoothAddressPtr remote_addr,
|
| + mojom::BluetoothUUIDPtr target_uuid,
|
| + bluez::BluetoothServiceRecordBlueZ::ErrorCode error_code);
|
| +
|
| bool CalledOnValidThread();
|
|
|
| mojo::Binding<mojom::BluetoothHost> binding_;
|
|
|